Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.TwoWayValvePressureIndependent,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",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.001461/0.001461, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.001749/0.00175, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.577/2.577, allocations: 223.2 MB / 239.9 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.995/0.995, allocations: 132.2 MB / 423.2 MB, free: 2.199 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005859/0.000586, allocations: 8 kB / 0.5033 GB, free: 4.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8028/0.8035, allocations: 81.57 MB / 0.583 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.03488/0.8384, allocations: 16.32 MB / 0.5989 GB, free: 8.566 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01173/0.8503, allocations: 4.475 MB / 0.6033 GB, free: 5.426 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001691/0.852, allocations: 15.06 kB / 0.6033 GB, free: 5.418 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001432/0.8535, allocations: 246.2 kB / 0.6035 GB, free: 5.207 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004796/0.8583, allocations: 0.8236 MB / 0.6043 GB, free: 4.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004509/0.8628, allocations: 0.9253 MB / 0.6052 GB, free: 3.898 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003124/0.8659, allocations: 0.9496 MB / 0.6062 GB, free: 3.285 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001036/0.867, allocations: 427.8 kB / 0.6066 GB, free: 3.012 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001692/0.8687, allocations: 0.5099 MB / 0.6071 GB, free: 2.703 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008352/0.8695, allocations: 401 kB / 0.6074 GB, free: 2.469 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.8697, allocations: 28.16 kB / 0.6075 GB, free: 2.469 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002213/0.8719, allocations: 0.6424 MB / 0.6081 GB, free: 2.141 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002312/0.8721, allocations: 123.1 kB / 0.6082 GB, free: 2.047 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003513/0.8725, allocations: 153.3 kB / 0.6084 GB, free: 1.957 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001558/0.8741, allocations: 0.7422 MB / 0.6091 GB, free: 1.492 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.8741, allocations: 1.188 kB / 0.6091 GB, free: 1.492 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.376e-06/0.8741, allocations: 0 / 0.6091 GB, free: 1.492 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.316e-05/0.8741, allocations: 0 / 0.6091 GB, free: 1.492 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002617/0.8767, allocations: 1.003 MB / 0.6101 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.805e-05/0.8768, allocations: 8.375 kB / 0.6101 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001345/0.877, allocations: 89.95 kB / 0.6102 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002078/0.8772, allocations: 82.72 kB / 0.6102 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.8783, allocations: 489.8 kB / 0.6107 GB, free: 148 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.981e-05/0.8783, allocations: 36.25 kB / 0.6107 GB, free: 132 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.8785, allocations: 44.53 kB / 0.6108 GB, free: 120 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.8801, allocations: 0.643 MB / 0.6114 GB, free: 15.64 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.8801, allocations: 5.188 kB / 0.6114 GB, free: 15.64 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.737e-05/0.8802, allocations: 17.47 kB / 0.6114 GB, free: 15.63 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.107e-05/0.8802, allocations: 12.34 kB / 0.6114 GB, free: 15.63 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001373/0.8816, allocations: 0.5129 MB / 0.6119 GB, free: 15.39 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.005575/0.8872, allocations: 3.196 MB / 0.6151 GB, free: 12.45 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009973/0.8882, allocations: 363.8 kB / 0.6154 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006318/0.8888, allocations: 347.7 kB / 0.6157 GB, free: 11.87 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.727e-05/0.8889, allocations: 36.94 kB / 0.6158 GB, free: 11.83 MB / 462.1 MB Notification: Performance of pre-optimization done (n=38): time 3.457e-06/0.8889, allocations: 0 / 0.6158 GB, free: 11.83 MB / 462.1 MB Notification: Performance of matching and sorting (n=38): time 0.002884/0.8918, allocations: 0.8602 MB / 0.6166 GB, free: 11.37 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.8919, allocations: 59.56 kB / 0.6167 GB, free: 11.3 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009336/0.8928, allocations: 0.5859 MB / 0.6173 GB, free: 10.95 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.861e-05/0.8929, allocations: 34.83 kB / 0.6173 GB, free: 10.91 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003256/0.8932, allocations: 328.7 kB / 0.6176 GB, free: 10.62 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.8934, allocations: 130.8 kB / 0.6177 GB, free: 10.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.303e-05/0.8934, allocations: 10.34 kB / 0.6177 GB, free: 10.5 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002138/0.8936, allocations: 376 kB / 0.6181 GB, free: 10.13 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005871/0.8942, allocations: 214.1 kB / 0.6183 GB, free: 10.04 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007236/0.895, allocations: 378.3 kB / 0.6187 GB, free: 9.754 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006982/0.8957, allocations: 256.5 kB / 0.6189 GB, free: 9.633 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.387e-06/0.8957, allocations: 1.906 kB / 0.6189 GB, free: 9.633 MB / 462.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001957/0.8977, allocations: 0.7291 MB / 0.6196 GB, free: 9.273 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000986/0.8987, allocations: 1.743 MB / 0.6213 GB, free: 7.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/0.8987, allocations: 5.438 kB / 0.6213 GB, free: 7.41 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007602/0.8995, allocations: 154.3 kB / 0.6215 GB, free: 7.344 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007622/0.9002, allocations: 154.3 kB / 0.6216 GB, free: 7.305 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008382/0.9011, allocations: 0.6307 MB / 0.6222 GB, free: 6.727 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009357/0.902, allocations: 113.1 kB / 0.6223 GB, free: 6.656 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.974e-05/0.9021, allocations: 31.05 kB / 0.6224 GB, free: 6.648 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.9022, allocations: 4.406 kB / 0.6224 GB, free: 6.648 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001576/0.9038, allocations: 0.6222 MB / 0.623 GB, free: 6.359 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.9038, allocations: 4.938 kB / 0.623 GB, free: 6.359 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.9038, allocations: 12.05 kB / 0.623 GB, free: 6.355 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006918/0.9045, allocations: 166.8 kB / 0.6232 GB, free: 6.312 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/0.9045, allocations: 7.656 kB / 0.6232 GB, free: 6.312 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008126/0.9053, allocations: 87.5 kB / 0.6232 GB, free: 6.266 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-05/0.9054, allocations: 31.45 kB / 0.6233 GB, free: 6.258 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0005008/0.9059, allocations: 276 kB / 0.6235 GB, free: 6.008 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/0.9061, allocations: 65.56 kB / 0.6236 GB, free: 5.973 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001819/0.9079, allocations: 0.6733 MB / 0.6243 GB, free: 5.449 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.601e-05/0.908, allocations: 4 kB / 0.6243 GB, free: 5.445 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.908, allocations: 0 / 0.6243 GB, free: 5.445 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.908, allocations: 3.984 kB / 0.6243 GB, free: 5.441 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0031/0.9111, allocations: 1.386 MB / 0.6256 GB, free: 3.984 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/0.9111, allocations: 7.938 kB / 0.6256 GB, free: 3.977 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004013/0.9115, allocations: 95.97 kB / 0.6257 GB, free: 3.883 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005041/0.912, allocations: 136.8 kB / 0.6259 GB, free: 3.746 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.094e-05/0.9121, allocations: 19.98 kB / 0.6259 GB, free: 3.727 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008061/0.9129, allocations: 0.6303 MB / 0.6265 GB, free: 3.07 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.9129, allocations: 4.094 kB / 0.6265 GB, free: 3.066 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001575/0.9145, allocations: 0.7603 MB / 0.6272 GB, free: 2.262 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00045/0.915, allocations: 204.1 kB / 0.6274 GB, free: 2.043 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.851e-05/0.9151, allocations: 11.98 kB / 0.6274 GB, free: 2.031 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000502/0.9156, allocations: 51.95 kB / 0.6275 GB, free: 1.98 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.147e-05/0.9157, allocations: 31.95 kB / 0.6275 GB, free: 1.949 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.392e-05/0.9157, allocations: 15.98 kB / 0.6275 GB, free: 1.934 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005591/0.9163, allocations: 407.1 kB / 0.6279 GB, free: 1.543 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.214e-06/0.9163, allocations: 0 / 0.6279 GB, free: 1.543 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001541/0.9179, allocations: 395.2 kB / 0.6283 GB, free: 1.156 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002952/0.9208, allocations: 1.696 MB / 0.63 GB, free: 15.41 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002506/0.9234, allocations: 0.9186 MB / 0.6309 GB, free: 14.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.9234, allocations: 0 / 0.6309 GB, free: 14.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007713/0.9242, allocations: 299.9 kB / 0.6311 GB, free: 14.21 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/0.9259, allocations: 266.5 kB / 0.6314 GB, free: 13.95 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004964/0.9309, allocations: 4.637 MB / 0.6359 GB, free: 9.176 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006573/0.9316, allocations: 0.9353 MB / 0.6368 GB, free: 8.211 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007675/0.9323, allocations: 152.2 kB / 0.637 GB, free: 8.066 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004034/0.9328, allocations: 251 kB / 0.6372 GB, free: 7.824 MB / 478.1 MB Notification: Performance of SimCode: time 1.583e-06/0.9328, allocations: 0 / 0.6372 GB, free: 7.824 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05299/0.9858, allocations: 17.4 MB / 0.6542 GB, free: 6.848 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004655/0.9863, allocations: 255.1 kB / 0.6545 GB, free: 6.496 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.564/4.551, allocations: 4 kB / 0.6545 GB, free: 6.492 MB / 494.1 MB (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1) Environment - environmentSimulation: