Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.TwoWayValveTable,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="IDEAS_dev_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.000771/0.0007712, 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.004487/0.004487, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.23/1.23, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8643/0.8643, allocations: 135.3 MB / 426.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002905/0.0002906, allocations: 9.75 kB / 0.5077 GB, free: 4.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1468, allocations: 82.31 MB / 0.5881 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01695/0.1638, allocations: 16.83 MB / 0.6045 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.2766/0.4405, allocations: 4.866 MB / 0.6093 GB, free: 33.75 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003728/0.4409, allocations: 14.41 kB / 0.6093 GB, free: 33.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006546/0.4415, allocations: 211.5 kB / 0.6095 GB, free: 33.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001053/0.4426, allocations: 0.555 MB / 0.61 GB, free: 33.72 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00133/0.4439, allocations: 0.6438 MB / 0.6107 GB, free: 33.7 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001053/0.445, allocations: 1.284 MB / 0.6119 GB, free: 33.65 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003471/0.4454, allocations: 282.7 kB / 0.6122 GB, free: 33.62 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004958/0.4459, allocations: 371.1 kB / 0.6125 GB, free: 33.57 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003048/0.4462, allocations: 304 kB / 0.6128 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.02e-05/0.4462, allocations: 18.28 kB / 0.6128 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009015/0.4471, allocations: 0.6949 MB / 0.6135 GB, free: 33.48 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.463e-05/0.4472, allocations: 119.7 kB / 0.6136 GB, free: 33.46 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001605/0.4474, allocations: 244.7 kB / 0.6139 GB, free: 33.35 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007303/0.4481, allocations: 0.8447 MB / 0.6147 GB, free: 33.22 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.4482, allocations: 7.188 kB / 0.6147 GB, free: 33.21 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.352e-06/0.4482, allocations: 0 / 0.6147 GB, free: 33.21 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.4482, allocations: 0 / 0.6147 GB, free: 33.21 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008751/0.4491, allocations: 0.7984 MB / 0.6155 GB, free: 32.62 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.4491, allocations: 8.469 kB / 0.6155 GB, free: 32.62 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.643e-05/0.4491, allocations: 58.39 kB / 0.6155 GB, free: 32.59 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.4493, allocations: 59.38 kB / 0.6156 GB, free: 32.56 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004368/0.4497, allocations: 446.9 kB / 0.616 GB, free: 32.29 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.4497, allocations: 26.03 kB / 0.6161 GB, free: 32.29 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.283e-05/0.4498, allocations: 28.91 kB / 0.6161 GB, free: 32.29 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004344/0.4502, allocations: 293.4 kB / 0.6164 GB, free: 32.2 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.4503, allocations: 0 / 0.6164 GB, free: 32.2 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.4503, allocations: 10.72 kB / 0.6164 GB, free: 32.2 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.4503, allocations: 5.438 kB / 0.6164 GB, free: 32.2 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003681/0.4507, allocations: 202.7 kB / 0.6166 GB, free: 32.2 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.001354/0.452, allocations: 1.488 MB / 0.618 GB, free: 31.3 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002626/0.4523, allocations: 167 kB / 0.6182 GB, free: 31.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.4525, allocations: 83.27 kB / 0.6183 GB, free: 31.27 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001206/0.4537, allocations: 1.302 MB / 0.6195 GB, free: 30.11 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.4537, allocations: 37.09 kB / 0.6196 GB, free: 30.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.4537, allocations: 0 / 0.6196 GB, free: 30.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0005634/0.4543, allocations: 262.5 kB / 0.6198 GB, free: 30.01 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.403e-05/0.4543, allocations: 54.69 kB / 0.6199 GB, free: 29.95 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005077/0.4548, allocations: 0.5835 MB / 0.6204 GB, free: 29.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.4549, allocations: 32.48 kB / 0.6205 GB, free: 29.79 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.455, allocations: 273.8 kB / 0.6207 GB, free: 29.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-05/0.455, allocations: 48.81 kB / 0.6208 GB, free: 29.63 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-05/0.4551, allocations: 30.38 kB / 0.6208 GB, free: 29.61 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.815e-05/0.4552, allocations: 359.3 kB / 0.6211 GB, free: 29.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/0.4554, allocations: 82.25 kB / 0.6212 GB, free: 29.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000238/0.4556, allocations: 218.7 kB / 0.6214 GB, free: 29.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003634/0.456, allocations: 244.2 kB / 0.6217 GB, free: 29.06 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.456, allocations: 0 / 0.6217 GB, free: 29.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004975/0.4565, allocations: 332.8 kB / 0.622 GB, free: 28.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.933e-05/0.4565, allocations: 160.8 kB / 0.6221 GB, free: 28.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.4566, allocations: 3.797 kB / 0.6221 GB, free: 28.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.4566, allocations: 3.344 kB / 0.6221 GB, free: 28.81 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002297/0.4568, allocations: 68.69 kB / 0.6222 GB, free: 28.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.4568, allocations: 6.344 kB / 0.6222 GB, free: 28.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003162/0.4571, allocations: 55.28 kB / 0.6223 GB, free: 28.78 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.838e-05/0.4572, allocations: 15.62 kB / 0.6223 GB, free: 28.78 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.119e-06/0.4572, allocations: 7.125 kB / 0.6223 GB, free: 28.78 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004253/0.4576, allocations: 245.8 kB / 0.6225 GB, free: 28.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.4576, allocations: 3.125 kB / 0.6225 GB, free: 28.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.418e-06/0.4576, allocations: 10.41 kB / 0.6225 GB, free: 28.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002039/0.4579, allocations: 64.58 kB / 0.6226 GB, free: 28.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.4579, allocations: 3.406 kB / 0.6226 GB, free: 28.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002847/0.4582, allocations: 46.64 kB / 0.6226 GB, free: 28.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/0.4582, allocations: 16.7 kB / 0.6227 GB, free: 28.73 MB / 0.4981 GB 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.0001403/0.4583, allocations: 256.5 kB / 0.6229 GB, free: 28.54 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.845e-05/0.4584, allocations: 55.31 kB / 0.623 GB, free: 28.51 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004747/0.4589, allocations: 274.4 kB / 0.6232 GB, free: 28.45 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.902e-06/0.4589, allocations: 0 / 0.6232 GB, free: 28.45 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.4589, allocations: 3.938 kB / 0.6232 GB, free: 28.45 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.4589, allocations: 7.188 kB / 0.6232 GB, free: 28.45 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007864/0.4597, allocations: 0.7498 MB / 0.624 GB, free: 28.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.4597, allocations: 0 / 0.624 GB, free: 28.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.4598, allocations: 37.08 kB / 0.624 GB, free: 28.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.4598, allocations: 0 / 0.624 GB, free: 28.09 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.4599, allocations: 5.719 kB / 0.624 GB, free: 28.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.4599, allocations: 3.281 kB / 0.624 GB, free: 28.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4599, allocations: 3.938 kB / 0.624 GB, free: 28.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003674/0.4602, allocations: 362.4 kB / 0.6244 GB, free: 27.89 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.4604, allocations: 151.2 kB / 0.6245 GB, free: 27.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.023e-05/0.4604, allocations: 8.141 kB / 0.6245 GB, free: 27.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.4606, allocations: 16.17 kB / 0.6245 GB, free: 27.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/0.4607, allocations: 23.73 kB / 0.6246 GB, free: 27.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.4607, allocations: 13.05 kB / 0.6246 GB, free: 27.76 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000346/0.4611, allocations: 418.4 kB / 0.625 GB, free: 27.67 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4611, allocations: 0 / 0.625 GB, free: 27.67 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006566/0.4617, allocations: 233.7 kB / 0.6252 GB, free: 27.64 MB / 0.4981 GB 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.001439/0.4632, allocations: 1.282 MB / 0.6264 GB, free: 26.84 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005964/0.4638, allocations: 337.2 kB / 0.6268 GB, free: 26.81 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4638, allocations: 0.875 kB / 0.6268 GB, free: 26.81 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001657/0.464, allocations: 92.73 kB / 0.6268 GB, free: 26.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001322/0.4653, allocations: 261.7 kB / 0.6271 GB, free: 26.77 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004087/0.4694, allocations: 4.2 MB / 0.6312 GB, free: 24.79 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/0.4696, allocations: 0.8391 MB / 0.632 GB, free: 24.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003045/0.4699, allocations: 98.33 kB / 0.6321 GB, free: 24.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/0.4701, allocations: 168.9 kB / 0.6323 GB, free: 24.05 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.4701, allocations: 0 / 0.6323 GB, free: 24.05 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03079/0.5009, allocations: 14.19 MB / 0.6461 GB, free: 22.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001785/0.5011, allocations: 244.7 kB / 0.6464 GB, free: 22.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.204/2.706, allocations: 0 / 0.6464 GB, free: 22.73 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)