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.008527/0.008527, allocations: 100.5 kB / 15.73 MB, free: 6.023 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.001969/0.001969, allocations: 192.9 kB / 16.67 MB, free: 5.957 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9382/0.9382, allocations: 135.1 MB / 425.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 55.91 kB / 0.5851 GB, free: 3.875 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4133/0.4147, allocations: 80.91 MB / 0.6642 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01633/0.4311, allocations: 17.46 MB / 0.6812 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007372/0.4385, allocations: 4.912 MB / 0.686 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007687/0.4393, allocations: 17 kB / 0.686 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00106/0.4404, allocations: 259.7 kB / 0.6863 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001733/0.4422, allocations: 0.6094 MB / 0.6869 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002221/0.4444, allocations: 0.7332 MB / 0.6876 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001453/0.4459, allocations: 0.9604 MB / 0.6885 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006341/0.4465, allocations: 343.5 kB / 0.6889 GB, free: 3.293 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009418/0.4475, allocations: 419.2 kB / 0.6893 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006135/0.4481, allocations: 312.7 kB / 0.6895 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.872e-05/0.4482, allocations: 30.75 kB / 0.6896 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001458/0.4497, allocations: 0.7253 MB / 0.6903 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001592/0.4498, allocations: 132.5 kB / 0.6904 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003763/0.4502, allocations: 245.2 kB / 0.6906 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001646/0.4519, allocations: 0.8818 MB / 0.6915 GB, free: 1.66 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.4519, allocations: 0 / 0.6915 GB, free: 1.66 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.903e-06/0.4519, allocations: 0 / 0.6915 GB, free: 1.66 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.744e-05/0.4519, allocations: 1.312 kB / 0.6915 GB, free: 1.66 MB / 0.5137 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.001809/0.4538, allocations: 0.8817 MB / 0.6924 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.4538, allocations: 13.31 kB / 0.6924 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.696e-05/0.4539, allocations: 63 kB / 0.6924 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002443/0.4541, allocations: 58.66 kB / 0.6925 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009365/0.4551, allocations: 470.4 kB / 0.6929 GB, free: 432 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.728e-05/0.4551, allocations: 20.69 kB / 0.693 GB, free: 424 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.474e-05/0.4552, allocations: 31.47 kB / 0.693 GB, free: 412 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005444/0.4557, allocations: 283.6 kB / 0.6933 GB, free: 216 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.4558, allocations: 4 kB / 0.6933 GB, free: 212 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.314e-05/0.4558, allocations: 10.66 kB / 0.6933 GB, free: 204 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.4558, allocations: 10.56 kB / 0.6933 GB, free: 200 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004539/0.4563, allocations: 186.8 kB / 0.6935 GB, free: 112 kB / 0.5137 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.002081/0.4584, allocations: 1.482 MB / 0.6949 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003286/0.4587, allocations: 155.8 kB / 0.6951 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/0.4589, allocations: 83.47 kB / 0.6951 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001621/0.4605, allocations: 1.273 MB / 0.6964 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.4606, allocations: 36.47 kB / 0.6964 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/0.4606, allocations: 3.938 kB / 0.6964 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0006754/0.4613, allocations: 261.4 kB / 0.6967 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.4613, allocations: 57.59 kB / 0.6967 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006697/0.462, allocations: 0.5768 MB / 0.6973 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.462, allocations: 32.45 kB / 0.6973 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.4622, allocations: 269 kB / 0.6976 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.119e-05/0.4623, allocations: 54.16 kB / 0.6976 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.4624, allocations: 70.77 kB / 0.6977 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.4625, allocations: 359.2 kB / 0.698 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.4627, allocations: 81.81 kB / 0.6981 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002924/0.463, allocations: 211.9 kB / 0.6983 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00044/0.4635, allocations: 235.6 kB / 0.6985 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.4635, allocations: 5.25 kB / 0.6986 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006477/0.4642, allocations: 318.1 kB / 0.6989 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.4642, allocations: 8.719 kB / 0.6989 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.4642, allocations: 2.562 kB / 0.6989 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.4642, allocations: 4.312 kB / 0.6989 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/0.4645, allocations: 63.5 kB / 0.6989 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.4645, allocations: 4.188 kB / 0.6989 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003587/0.4649, allocations: 42.59 kB / 0.699 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.829e-05/0.4649, allocations: 20.5 kB / 0.699 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003074/0.4652, allocations: 213.4 kB / 0.6992 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002776/0.4655, allocations: 214.8 kB / 0.6994 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000391/0.4659, allocations: 222.4 kB / 0.6996 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.06e-06/0.4659, allocations: 9.344 kB / 0.6996 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006085/0.4665, allocations: 311.7 kB / 0.6999 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.4666, allocations: 6.562 kB / 0.6999 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.4666, allocations: 1.75 kB / 0.6999 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.302e-06/0.4666, allocations: 5 kB / 0.6999 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/0.4668, allocations: 63.22 kB / 0.7 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.4668, allocations: 7.953 kB / 0.7 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003736/0.4672, allocations: 36.02 kB / 0.7 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.998e-05/0.4673, allocations: 21.86 kB / 0.7001 GB, free: 10.67 MB / 0.5294 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.0001395/0.4674, allocations: 203.8 kB / 0.7003 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.584e-05/0.4675, allocations: 49.25 kB / 0.7003 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005842/0.4681, allocations: 253.3 kB / 0.7005 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.4681, allocations: 5.094 kB / 0.7005 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.4681, allocations: 1.469 kB / 0.7005 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.4681, allocations: 4 kB / 0.7006 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.4693, allocations: 0.7289 MB / 0.7013 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.4693, allocations: 1.25 kB / 0.7013 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/0.4694, allocations: 40.16 kB / 0.7013 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.4695, allocations: 6.875 kB / 0.7013 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.4695, allocations: 2.656 kB / 0.7013 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.4695, allocations: 1.125 kB / 0.7013 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.4695, allocations: 6.344 kB / 0.7013 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005209/0.47, allocations: 347.5 kB / 0.7017 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001926/0.4702, allocations: 152.3 kB / 0.7018 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001394/0.4704, allocations: 10.53 kB / 0.7018 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.4706, allocations: 10.36 kB / 0.7018 GB, free: 9.238 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.215e-05/0.4706, allocations: 18.27 kB / 0.7018 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.4707, allocations: 5.094 kB / 0.7018 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005369/0.4712, allocations: 424.2 kB / 0.7022 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4712, allocations: 1.281 kB / 0.7022 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008772/0.4721, allocations: 226 kB / 0.7025 GB, free: 8.941 MB / 0.5294 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.001936/0.474, allocations: 1.275 MB / 0.7037 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008084/0.4749, allocations: 336.5 kB / 0.704 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.4749, allocations: 0 / 0.704 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002092/0.4751, allocations: 90.52 kB / 0.7041 GB, free: 7.812 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001454/0.4766, allocations: 247.5 kB / 0.7043 GB, free: 7.68 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006137/0.4827, allocations: 3.937 MB / 0.7082 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.4832, allocations: 0.8467 MB / 0.709 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004252/0.4836, allocations: 112.2 kB / 0.7091 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002268/0.4838, allocations: 167.4 kB / 0.7093 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of SimCode: time 9.42e-07/0.4838, allocations: 0 / 0.7093 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03944/0.5233, allocations: 15.22 MB / 0.7242 GB, free: 3.438 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.719/9.242, allocations: 9.469 kB / 0.7242 GB, free: 3.43 MB / 0.545 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)