Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007612/0.0007611, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004147/0.004147, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.263/1.263, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7233/0.7233, allocations: 132.3 MB / 423.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002791/0.0002791, allocations: 12.73 kB / 0.5041 GB, free: 3.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3421, allocations: 81.57 MB / 0.5837 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01704/0.3592, allocations: 16.85 MB / 0.6002 GB, free: 7.891 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006614/0.3658, allocations: 4.876 MB / 0.605 GB, free: 4.418 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003594/0.3662, allocations: 15.78 kB / 0.605 GB, free: 4.41 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006698/0.3669, allocations: 204 kB / 0.6052 GB, free: 4.254 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001135/0.368, allocations: 0.5621 MB / 0.6057 GB, free: 3.812 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001506/0.3695, allocations: 0.6426 MB / 0.6064 GB, free: 3.371 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001199/0.3707, allocations: 1.267 MB / 0.6076 GB, free: 2.672 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003828/0.3711, allocations: 288.2 kB / 0.6079 GB, free: 2.492 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005803/0.3717, allocations: 378.4 kB / 0.6082 GB, free: 2.281 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003636/0.3721, allocations: 305.1 kB / 0.6085 GB, free: 2.109 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.305e-05/0.3722, allocations: 18.84 kB / 0.6085 GB, free: 2.105 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001013/0.3732, allocations: 0.6909 MB / 0.6092 GB, free: 1.719 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.3733, allocations: 122.3 kB / 0.6093 GB, free: 1.641 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002169/0.3735, allocations: 247.8 kB / 0.6096 GB, free: 1.469 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009424/0.3745, allocations: 0.8477 MB / 0.6104 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.3745, allocations: 1.031 kB / 0.6104 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3745, allocations: 0 / 0.6104 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.3745, allocations: 0 / 0.6104 GB, free: 0.9336 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001101/0.3756, allocations: 0.7975 MB / 0.6112 GB, free: 244 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.3757, allocations: 17.88 kB / 0.6112 GB, free: 236 kB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.914e-05/0.3757, allocations: 54.58 kB / 0.6112 GB, free: 180 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/0.3759, allocations: 57.53 kB / 0.6113 GB, free: 152 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005628/0.3765, allocations: 455 kB / 0.6117 GB, free: 15.76 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.3765, allocations: 20.12 kB / 0.6118 GB, free: 15.75 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.577e-05/0.3765, allocations: 28.31 kB / 0.6118 GB, free: 15.75 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004922/0.377, allocations: 292.7 kB / 0.6121 GB, free: 15.55 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.3771, allocations: 3.938 kB / 0.6121 GB, free: 15.54 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.387e-05/0.3771, allocations: 10.75 kB / 0.6121 GB, free: 15.54 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.3771, allocations: 6.938 kB / 0.6121 GB, free: 15.54 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004314/0.3775, allocations: 200.5 kB / 0.6123 GB, free: 15.45 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001749/0.3793, allocations: 1.476 MB / 0.6137 GB, free: 14.14 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003211/0.3796, allocations: 170.1 kB / 0.6139 GB, free: 14.04 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/0.3798, allocations: 88.45 kB / 0.614 GB, free: 14 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001514/0.3814, allocations: 1.289 MB / 0.6152 GB, free: 12.66 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.3814, allocations: 31.5 kB / 0.6152 GB, free: 12.62 MB / 462.1 MB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/0.3814, allocations: 0.7188 kB / 0.6152 GB, free: 12.62 MB / 462.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006347/0.382, allocations: 273.1 kB / 0.6155 GB, free: 12.48 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.3821, allocations: 64.83 kB / 0.6156 GB, free: 12.41 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000637/0.3827, allocations: 0.5769 MB / 0.6161 GB, free: 12.08 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.3828, allocations: 31.77 kB / 0.6162 GB, free: 12.04 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000195/0.383, allocations: 273.6 kB / 0.6164 GB, free: 11.8 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.95e-05/0.383, allocations: 50.27 kB / 0.6165 GB, free: 11.75 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-05/0.3831, allocations: 30.95 kB / 0.6165 GB, free: 11.73 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.3832, allocations: 358.2 kB / 0.6168 GB, free: 11.38 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.3834, allocations: 77.45 kB / 0.6169 GB, free: 11.35 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002932/0.3837, allocations: 217.6 kB / 0.6171 GB, free: 11.16 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004136/0.3841, allocations: 242.4 kB / 0.6174 GB, free: 10.99 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3842, allocations: 0 / 0.6174 GB, free: 10.99 MB / 462.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005844/0.3847, allocations: 332.7 kB / 0.6177 GB, free: 10.82 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.318e-05/0.3849, allocations: 162.5 kB / 0.6178 GB, free: 10.63 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.3849, allocations: 2.875 kB / 0.6178 GB, free: 10.63 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.3849, allocations: 4.688 kB / 0.6178 GB, free: 10.63 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002591/0.3851, allocations: 61.59 kB / 0.6179 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.3852, allocations: 7.234 kB / 0.6179 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003662/0.3855, allocations: 57.36 kB / 0.618 GB, free: 10.58 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.259e-05/0.3856, allocations: 15.64 kB / 0.618 GB, free: 10.57 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.472e-06/0.3856, allocations: 5.906 kB / 0.618 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004954/0.3861, allocations: 253.6 kB / 0.6182 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.3861, allocations: 2.344 kB / 0.6182 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.519e-06/0.3861, allocations: 4.5 kB / 0.6182 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002387/0.3864, allocations: 62.25 kB / 0.6183 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.3864, allocations: 11.31 kB / 0.6183 GB, free: 10.44 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003267/0.3867, allocations: 51.91 kB / 0.6183 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/0.3867, allocations: 11 kB / 0.6184 GB, free: 10.41 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002011/0.3869, allocations: 258.7 kB / 0.6186 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.414e-05/0.387, allocations: 57.36 kB / 0.6187 GB, free: 10.14 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000545/0.3876, allocations: 264 kB / 0.6189 GB, free: 9.996 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.3876, allocations: 5.016 kB / 0.6189 GB, free: 9.992 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.3876, allocations: 1.469 kB / 0.6189 GB, free: 9.992 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3876, allocations: 0 / 0.6189 GB, free: 9.992 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009878/0.3886, allocations: 0.7472 MB / 0.6196 GB, free: 9.383 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.3886, allocations: 1.406 kB / 0.6196 GB, free: 9.383 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001297/0.3888, allocations: 37.2 kB / 0.6197 GB, free: 9.371 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.3888, allocations: 6.562 kB / 0.6197 GB, free: 9.367 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.3888, allocations: 3.281 kB / 0.6197 GB, free: 9.367 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.3888, allocations: 5.234 kB / 0.6197 GB, free: 9.363 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3888, allocations: 1.094 kB / 0.6197 GB, free: 9.363 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004777/0.3893, allocations: 371.5 kB / 0.62 GB, free: 9.09 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001525/0.3895, allocations: 149.6 kB / 0.6202 GB, free: 8.945 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.406e-05/0.3895, allocations: 5.359 kB / 0.6202 GB, free: 8.941 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002353/0.3898, allocations: 31.42 kB / 0.6202 GB, free: 8.922 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.878e-05/0.3898, allocations: 14.14 kB / 0.6202 GB, free: 8.914 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.3898, allocations: 14.62 kB / 0.6203 GB, free: 8.906 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004331/0.3903, allocations: 415.9 kB / 0.6207 GB, free: 8.676 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3903, allocations: 0 / 0.6207 GB, free: 8.676 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006964/0.391, allocations: 235 kB / 0.6209 GB, free: 8.621 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001603/0.3926, allocations: 1.275 MB / 0.6221 GB, free: 7.707 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006243/0.3932, allocations: 339.5 kB / 0.6224 GB, free: 7.574 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3932, allocations: 0 / 0.6224 GB, free: 7.574 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001864/0.3934, allocations: 96.11 kB / 0.6225 GB, free: 7.535 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/0.3948, allocations: 259.5 kB / 0.6228 GB, free: 7.406 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004699/0.3995, allocations: 4.201 MB / 0.6269 GB, free: 3.422 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.3998, allocations: 0.8468 MB / 0.6277 GB, free: 2.547 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002991/0.4002, allocations: 103.3 kB / 0.6278 GB, free: 2.445 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001871/0.4003, allocations: 163.4 kB / 0.628 GB, free: 2.285 MB / 462.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4004, allocations: 0 / 0.628 GB, free: 2.285 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1544/0.5548, allocations: 14.18 MB / 0.6418 GB, free: 4.402 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002707/0.5551, allocations: 245.9 kB / 0.6421 GB, free: 4.148 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.023/2.578, allocations: 0 / 0.6421 GB, free: 4.148 MB / 478.1 MB (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)