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.0009634/0.0009634, allocations: 99.94 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.001072/0.001072, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.098/1.098, allocations: 135.2 MB / 426.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000359/0.0003591, allocations: 11.98 kB / 0.5069 GB, free: 5.172 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2116, allocations: 82.32 MB / 0.5873 GB, free: 3.039 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01963/0.2313, allocations: 16.31 MB / 0.6032 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4255/0.6568, allocations: 4.458 MB / 0.6076 GB, free: 34.77 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00108/0.658, allocations: 16.22 kB / 0.6076 GB, free: 34.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009845/0.659, allocations: 247.7 kB / 0.6078 GB, free: 34.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003071/0.6621, allocations: 0.823 MB / 0.6086 GB, free: 34.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0028/0.6649, allocations: 0.9212 MB / 0.6095 GB, free: 34.75 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001933/0.6668, allocations: 0.9491 MB / 0.6105 GB, free: 34.75 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006164/0.6674, allocations: 425.7 kB / 0.6109 GB, free: 34.7 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009278/0.6684, allocations: 0.506 MB / 0.6114 GB, free: 34.7 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005314/0.6689, allocations: 404.7 kB / 0.6117 GB, free: 34.69 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.401e-05/0.669, allocations: 27.59 kB / 0.6118 GB, free: 34.69 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001331/0.6703, allocations: 0.6355 MB / 0.6124 GB, free: 34.69 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001365/0.6705, allocations: 124.7 kB / 0.6125 GB, free: 34.69 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001611/0.6707, allocations: 155.7 kB / 0.6127 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007616/0.6714, allocations: 0.7542 MB / 0.6134 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.6714, allocations: 1.812 kB / 0.6134 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.104e-06/0.6714, allocations: 0 / 0.6134 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.441e-05/0.6715, allocations: 4 kB / 0.6134 GB, free: 34.59 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.001593/0.6731, allocations: 0.9906 MB / 0.6144 GB, free: 33.95 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.6731, allocations: 13.62 kB / 0.6144 GB, free: 33.95 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.693e-05/0.6732, allocations: 90.28 kB / 0.6145 GB, free: 33.91 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.6733, allocations: 82.97 kB / 0.6145 GB, free: 33.87 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008592/0.6742, allocations: 482.1 kB / 0.615 GB, free: 33.61 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.76e-05/0.6743, allocations: 40 kB / 0.615 GB, free: 33.61 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.181e-05/0.6744, allocations: 49.25 kB / 0.6151 GB, free: 33.61 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009048/0.6753, allocations: 0.6253 MB / 0.6157 GB, free: 33.42 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.6753, allocations: 5.594 kB / 0.6157 GB, free: 33.42 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.401e-05/0.6753, allocations: 22.59 kB / 0.6157 GB, free: 33.42 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.6754, allocations: 12.72 kB / 0.6157 GB, free: 33.42 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009533/0.6763, allocations: 0.5182 MB / 0.6162 GB, free: 33.41 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.002918/0.6792, allocations: 3.201 MB / 0.6194 GB, free: 31.18 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006218/0.6799, allocations: 365.7 kB / 0.6197 GB, free: 31.15 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003196/0.6802, allocations: 343.4 kB / 0.62 GB, free: 30.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.6803, allocations: 42.47 kB / 0.6201 GB, free: 30.73 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 2.675e-06/0.6803, allocations: 3.344 kB / 0.6201 GB, free: 30.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.001956/0.6822, allocations: 0.8542 MB / 0.6209 GB, free: 30.55 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.6823, allocations: 54.34 kB / 0.621 GB, free: 30.48 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000563/0.6828, allocations: 0.5819 MB / 0.6215 GB, free: 30.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.315e-05/0.6829, allocations: 38.77 kB / 0.6216 GB, free: 30.31 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001974/0.6831, allocations: 329.4 kB / 0.6219 GB, free: 30.16 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.822e-05/0.6832, allocations: 132.4 kB / 0.622 GB, free: 30.07 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.633e-05/0.6832, allocations: 10.5 kB / 0.622 GB, free: 30.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.6833, allocations: 370.2 kB / 0.6224 GB, free: 29.76 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004573/0.6838, allocations: 222.1 kB / 0.6226 GB, free: 29.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005515/0.6844, allocations: 375.4 kB / 0.623 GB, free: 29.59 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004986/0.6849, allocations: 258.1 kB / 0.6232 GB, free: 29.58 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.6849, allocations: 2.844 kB / 0.6232 GB, free: 29.58 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001316/0.6862, allocations: 0.73 MB / 0.6239 GB, free: 29.49 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003832/0.6866, allocations: 1.752 MB / 0.6256 GB, free: 27.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.6866, allocations: 6.562 kB / 0.6256 GB, free: 27.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006197/0.6873, allocations: 145 kB / 0.6258 GB, free: 27.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006405/0.6879, allocations: 154.5 kB / 0.6259 GB, free: 27.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005258/0.6885, allocations: 0.6292 MB / 0.6265 GB, free: 27.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006598/0.6891, allocations: 103.7 kB / 0.6266 GB, free: 27.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.083e-05/0.6892, allocations: 31.36 kB / 0.6267 GB, free: 27.08 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.6892, allocations: 10.95 kB / 0.6267 GB, free: 27.07 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001133/0.6904, allocations: 0.6228 MB / 0.6273 GB, free: 27.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.6904, allocations: 2.906 kB / 0.6273 GB, free: 27.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.295e-06/0.6904, allocations: 9.344 kB / 0.6273 GB, free: 27.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005661/0.691, allocations: 166.6 kB / 0.6275 GB, free: 27.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.691, allocations: 12.97 kB / 0.6275 GB, free: 27.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005303/0.6915, allocations: 87.73 kB / 0.6275 GB, free: 26.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.854e-05/0.6916, allocations: 38.83 kB / 0.6276 GB, free: 26.98 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 (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.0003089/0.6919, allocations: 264.4 kB / 0.6278 GB, free: 26.78 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.692, allocations: 69.8 kB / 0.6279 GB, free: 26.74 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001409/0.6934, allocations: 0.6742 MB / 0.6286 GB, free: 26.65 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.6934, allocations: 5.844 kB / 0.6286 GB, free: 26.65 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.6935, allocations: 0 / 0.6286 GB, free: 26.65 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.6935, allocations: 3.797 kB / 0.6286 GB, free: 26.65 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002241/0.6957, allocations: 1.388 MB / 0.6299 GB, free: 26.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.6957, allocations: 6.359 kB / 0.6299 GB, free: 26.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003681/0.6961, allocations: 93.47 kB / 0.63 GB, free: 26.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003924/0.6965, allocations: 129.7 kB / 0.6301 GB, free: 26.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.192e-05/0.6966, allocations: 16.06 kB / 0.6302 GB, free: 26.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005005/0.6971, allocations: 0.6429 MB / 0.6308 GB, free: 25.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.6971, allocations: 3.984 kB / 0.6308 GB, free: 25.71 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.6983, allocations: 0.7642 MB / 0.6315 GB, free: 25.44 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002472/0.6986, allocations: 202.3 kB / 0.6317 GB, free: 25.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.122e-05/0.6987, allocations: 6.312 kB / 0.6317 GB, free: 25.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004331/0.6991, allocations: 59.81 kB / 0.6318 GB, free: 25.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.681e-05/0.6992, allocations: 31.33 kB / 0.6318 GB, free: 25.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-05/0.6992, allocations: 19.38 kB / 0.6318 GB, free: 25.29 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004028/0.6996, allocations: 398.2 kB / 0.6322 GB, free: 25.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6996, allocations: 0 / 0.6322 GB, free: 25.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001146/0.7008, allocations: 387.4 kB / 0.6326 GB, free: 25.15 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 (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.002037/0.7028, allocations: 1.713 MB / 0.6343 GB, free: 24.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002044/0.7049, allocations: 0.907 MB / 0.6352 GB, free: 24.04 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.7049, allocations: 0 / 0.6352 GB, free: 24.04 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006595/0.7056, allocations: 304.1 kB / 0.6354 GB, free: 24.03 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/0.707, allocations: 264 kB / 0.6357 GB, free: 24 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003136/0.7102, allocations: 4.643 MB / 0.6402 GB, free: 20.07 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/0.7112, allocations: 0.927 MB / 0.6411 GB, free: 35.36 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007493/0.712, allocations: 162 kB / 0.6413 GB, free: 35.32 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003852/0.7124, allocations: 243.7 kB / 0.6415 GB, free: 35.31 MB / 0.5137 GB Notification: Performance of SimCode: time 2.865e-06/0.7124, allocations: 2.938 kB / 0.6415 GB, free: 35.31 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1459/0.8583, allocations: 17.39 MB / 0.6585 GB, free: 33.98 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003094/0.8587, allocations: 273.5 kB / 0.6588 GB, free: 33.62 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.538/3.397, allocations: 0 / 0.6588 GB, free: 33.62 MB / 0.5137 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/linux/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) Environment - environmentSimulation: