Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="IDEAS_dev_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.0007533/0.0007533, allocations: 90.75 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.004677/0.004677, allocations: 172.7 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.223/1.223, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8557/0.8557, allocations: 135.3 MB / 426.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003177/0.0003177, allocations: 8 kB / 0.5077 GB, free: 4.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1423, allocations: 82.31 MB / 0.5881 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.2836/0.426, allocations: 18.76 MB / 0.6064 GB, free: 34.37 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006468/0.4325, allocations: 5.116 MB / 0.6114 GB, free: 34.29 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005091/0.433, allocations: 17.22 kB / 0.6114 GB, free: 34.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005788/0.4336, allocations: 209.7 kB / 0.6116 GB, free: 34.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001398/0.435, allocations: 0.7067 MB / 0.6123 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001619/0.4366, allocations: 0.7946 MB / 0.6131 GB, free: 34.15 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001363/0.438, allocations: 1.934 MB / 0.615 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004374/0.4384, allocations: 441.8 kB / 0.6154 GB, free: 33.83 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006606/0.4391, allocations: 0.5733 MB / 0.616 GB, free: 33.73 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004471/0.4396, allocations: 0.5111 MB / 0.6165 GB, free: 33.61 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.792e-05/0.4396, allocations: 32.31 kB / 0.6165 GB, free: 33.61 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009691/0.4406, allocations: 0.6536 MB / 0.6171 GB, free: 33.56 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.4408, allocations: 135.4 kB / 0.6172 GB, free: 33.53 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000266/0.441, allocations: 374.4 kB / 0.6176 GB, free: 33.38 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000857/0.4419, allocations: 1.044 MB / 0.6186 GB, free: 33.2 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4419, allocations: 3.938 kB / 0.6186 GB, free: 33.2 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4419, allocations: 2.062 kB / 0.6186 GB, free: 33.2 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.4419, allocations: 0 / 0.6186 GB, free: 33.2 MB / 0.4981 GB 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.001418/0.4434, allocations: 0.9896 MB / 0.6196 GB, free: 32.55 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.4434, allocations: 9.906 kB / 0.6196 GB, free: 32.55 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.578e-05/0.4435, allocations: 84.75 kB / 0.6197 GB, free: 32.51 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.724e-05/0.4436, allocations: 85.08 kB / 0.6198 GB, free: 32.47 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005091/0.4441, allocations: 0.4986 MB / 0.6203 GB, free: 32.17 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.4441, allocations: 43.09 kB / 0.6203 GB, free: 32.17 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.211e-05/0.4442, allocations: 46.66 kB / 0.6203 GB, free: 32.17 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008692/0.4451, allocations: 0.6372 MB / 0.621 GB, free: 31.97 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.4451, allocations: 2.781 kB / 0.621 GB, free: 31.97 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.122e-05/0.4452, allocations: 18.62 kB / 0.621 GB, free: 31.97 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.4452, allocations: 12.22 kB / 0.621 GB, free: 31.97 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009477/0.4461, allocations: 0.52 MB / 0.6215 GB, free: 31.95 MB / 0.4981 GB 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.002508/0.4486, allocations: 3.196 MB / 0.6246 GB, free: 29.69 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006179/0.4493, allocations: 362.6 kB / 0.625 GB, free: 29.65 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00044/0.4497, allocations: 247.1 kB / 0.6252 GB, free: 29.64 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002556/0.45, allocations: 347.5 kB / 0.6255 GB, free: 29.26 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.703e-05/0.45, allocations: 37.84 kB / 0.6256 GB, free: 29.22 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 1.563e-06/0.45, allocations: 0 / 0.6256 GB, free: 29.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.001945/0.452, allocations: 0.8679 MB / 0.6264 GB, free: 29.03 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.332e-05/0.452, allocations: 57.03 kB / 0.6265 GB, free: 28.97 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005112/0.4525, allocations: 0.5893 MB / 0.6271 GB, free: 28.83 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/0.4526, allocations: 36.05 kB / 0.6271 GB, free: 28.8 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.4527, allocations: 328.4 kB / 0.6274 GB, free: 28.64 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.672e-05/0.4528, allocations: 134.1 kB / 0.6275 GB, free: 28.55 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.329e-05/0.4529, allocations: 57.33 kB / 0.6276 GB, free: 28.54 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.264e-05/0.4529, allocations: 375.6 kB / 0.6279 GB, free: 28.22 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004556/0.4534, allocations: 228.2 kB / 0.6282 GB, free: 28.22 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004997/0.4539, allocations: 380.4 kB / 0.6285 GB, free: 28.04 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009171/0.4548, allocations: 0.5966 MB / 0.6291 GB, free: 27.68 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.4548, allocations: 0 / 0.6291 GB, free: 27.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001265/0.4561, allocations: 0.7466 MB / 0.6298 GB, free: 27.39 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.313e-05/0.4562, allocations: 226.7 kB / 0.63 GB, free: 27.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-06/0.4562, allocations: 2.938 kB / 0.6301 GB, free: 27.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005827/0.4568, allocations: 160.1 kB / 0.6302 GB, free: 27.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005026/0.4573, allocations: 143.6 kB / 0.6303 GB, free: 27.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004024/0.4577, allocations: 0.6344 MB / 0.631 GB, free: 26.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005604/0.4583, allocations: 106.7 kB / 0.6311 GB, free: 26.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.854e-05/0.4584, allocations: 29.8 kB / 0.6311 GB, free: 26.45 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.079e-06/0.4584, allocations: 3.156 kB / 0.6311 GB, free: 26.45 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001099/0.4595, allocations: 0.6239 MB / 0.6317 GB, free: 26.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.4595, allocations: 9.219 kB / 0.6317 GB, free: 26.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.593e-06/0.4595, allocations: 8.219 kB / 0.6317 GB, free: 26.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005528/0.4601, allocations: 165.5 kB / 0.6319 GB, free: 26.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.4601, allocations: 16 kB / 0.6319 GB, free: 26.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005051/0.4606, allocations: 83 kB / 0.632 GB, free: 26.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.351e-05/0.4607, allocations: 36.2 kB / 0.632 GB, free: 26.17 MB / 0.4981 GB 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 (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000209/0.4609, allocations: 273.4 kB / 0.6323 GB, free: 25.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.108e-05/0.461, allocations: 65.62 kB / 0.6323 GB, free: 25.89 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001304/0.4623, allocations: 0.6752 MB / 0.633 GB, free: 25.62 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.4623, allocations: 9.656 kB / 0.633 GB, free: 25.62 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4623, allocations: 0.875 kB / 0.633 GB, free: 25.62 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.4623, allocations: 3.938 kB / 0.633 GB, free: 25.62 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002051/0.4644, allocations: 1.399 MB / 0.6344 GB, free: 24.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.4644, allocations: 2.875 kB / 0.6344 GB, free: 24.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003314/0.4647, allocations: 95.58 kB / 0.6345 GB, free: 24.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003654/0.4651, allocations: 131.3 kB / 0.6346 GB, free: 24.88 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.777e-05/0.4651, allocations: 14.47 kB / 0.6346 GB, free: 24.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004561/0.4656, allocations: 0.6267 MB / 0.6352 GB, free: 24.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4656, allocations: 10.88 kB / 0.6352 GB, free: 24.31 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.4667, allocations: 0.7276 MB / 0.6359 GB, free: 23.94 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001836/0.4669, allocations: 204.1 kB / 0.6361 GB, free: 23.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.241e-05/0.467, allocations: 12.09 kB / 0.6361 GB, free: 23.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000439/0.4675, allocations: 55.31 kB / 0.6362 GB, free: 23.76 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.363e-05/0.4675, allocations: 29.61 kB / 0.6362 GB, free: 23.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.187e-05/0.4676, allocations: 19.84 kB / 0.6362 GB, free: 23.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003562/0.4679, allocations: 401.1 kB / 0.6366 GB, free: 23.58 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4679, allocations: 0 / 0.6366 GB, free: 23.58 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009877/0.4689, allocations: 398.4 kB / 0.637 GB, free: 23.49 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001764/0.4707, allocations: 1.482 MB / 0.6385 GB, free: 22.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001671/0.4724, allocations: 0.8954 MB / 0.6393 GB, free: 22.26 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4724, allocations: 0.625 kB / 0.6393 GB, free: 22.26 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006195/0.473, allocations: 311.4 kB / 0.6396 GB, free: 22.17 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001493/0.4745, allocations: 266.9 kB / 0.6399 GB, free: 22.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006796/0.4813, allocations: 5.767 MB / 0.6455 GB, free: 18.68 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.4817, allocations: 0.9084 MB / 0.6464 GB, free: 17.97 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005571/0.4822, allocations: 153.4 kB / 0.6465 GB, free: 17.93 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002877/0.4825, allocations: 245.2 kB / 0.6468 GB, free: 17.76 MB / 0.4981 GB Notification: Performance of SimCode: time 1.303e-06/0.4825, allocations: 4 kB / 0.6468 GB, free: 17.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05383/0.5364, allocations: 17.65 MB / 0.664 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000151/0.5366, allocations: 294.8 kB / 0.6643 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.19/2.726, allocations: 3.875 kB / 0.6643 GB, free: 15.53 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)