Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.TwoWayValveTable,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="IDEAS_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.001083/0.001083, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001801/0.001801, allocations: 190.8 kB / 16.25 MB, free: 6.625 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.278/1.278, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7098/0.7098, allocations: 132.2 MB / 422.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 67.94 kB / 0.5014 GB, free: 9.016 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1299, allocations: 80.21 MB / 0.5797 GB, free: 9.035 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01578/0.1457, allocations: 17.36 MB / 0.5966 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005621/0.1514, allocations: 4.882 MB / 0.6014 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004231/0.1518, allocations: 15.88 kB / 0.6014 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006578/0.1525, allocations: 222.9 kB / 0.6016 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001239/0.1537, allocations: 0.5639 MB / 0.6022 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001517/0.1553, allocations: 0.6627 MB / 0.6028 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001004/0.1563, allocations: 0.9702 MB / 0.6038 GB, free: 288 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.205/0.3613, allocations: 324.8 kB / 0.6041 GB, free: 36.46 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008305/0.3621, allocations: 428.6 kB / 0.6045 GB, free: 36.46 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002948/0.3624, allocations: 318.6 kB / 0.6048 GB, free: 36.46 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.749e-05/0.3625, allocations: 31.75 kB / 0.6048 GB, free: 36.46 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.3635, allocations: 0.7251 MB / 0.6055 GB, free: 36.46 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.574e-05/0.3636, allocations: 141.1 kB / 0.6057 GB, free: 36.44 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001548/0.3638, allocations: 249 kB / 0.6059 GB, free: 36.36 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007512/0.3645, allocations: 0.8769 MB / 0.6068 GB, free: 36.28 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3646, allocations: 0 / 0.6068 GB, free: 36.28 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3646, allocations: 0 / 0.6068 GB, free: 36.28 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.3646, allocations: 0 / 0.6068 GB, free: 36.28 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.0008886/0.3655, allocations: 0.881 MB / 0.6076 GB, free: 35.69 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.3655, allocations: 9.062 kB / 0.6076 GB, free: 35.69 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.232e-05/0.3656, allocations: 58.02 kB / 0.6077 GB, free: 35.65 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001242/0.3657, allocations: 65.97 kB / 0.6078 GB, free: 35.62 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003925/0.3661, allocations: 439.4 kB / 0.6082 GB, free: 35.36 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.3661, allocations: 27.59 kB / 0.6082 GB, free: 35.36 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.3661, allocations: 26.91 kB / 0.6082 GB, free: 35.36 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003821/0.3665, allocations: 288.8 kB / 0.6085 GB, free: 35.29 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.3666, allocations: 0.5938 kB / 0.6085 GB, free: 35.29 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/0.3666, allocations: 11.19 kB / 0.6085 GB, free: 35.29 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.3666, allocations: 6.469 kB / 0.6085 GB, free: 35.29 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003314/0.3669, allocations: 194.4 kB / 0.6087 GB, free: 35.29 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.001227/0.3682, allocations: 1.48 MB / 0.6102 GB, free: 34.42 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002439/0.3684, allocations: 161.4 kB / 0.6103 GB, free: 34.39 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.3686, allocations: 90.53 kB / 0.6104 GB, free: 34.38 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001093/0.3697, allocations: 1.269 MB / 0.6116 GB, free: 33.25 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.124e-05/0.3697, allocations: 38.5 kB / 0.6117 GB, free: 33.2 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.182e-06/0.3697, allocations: 0 / 0.6117 GB, free: 33.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0004898/0.3702, allocations: 255.7 kB / 0.6119 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.617e-05/0.3702, allocations: 51.41 kB / 0.612 GB, free: 33.08 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004294/0.3706, allocations: 0.5855 MB / 0.6125 GB, free: 32.96 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.3707, allocations: 32.14 kB / 0.6126 GB, free: 32.93 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.3708, allocations: 273.3 kB / 0.6128 GB, free: 32.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.3708, allocations: 57.12 kB / 0.6129 GB, free: 32.76 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.482e-05/0.3709, allocations: 68.38 kB / 0.6129 GB, free: 32.74 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.373e-05/0.371, allocations: 355.4 kB / 0.6133 GB, free: 32.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.3711, allocations: 80.41 kB / 0.6134 GB, free: 32.42 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.3713, allocations: 216.6 kB / 0.6136 GB, free: 32.29 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002977/0.3716, allocations: 235 kB / 0.6138 GB, free: 32.2 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3716, allocations: 0 / 0.6138 GB, free: 32.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004434/0.3721, allocations: 302 kB / 0.6141 GB, free: 32.14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.3721, allocations: 14.94 kB / 0.6141 GB, free: 32.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.3721, allocations: 3.25 kB / 0.6141 GB, free: 32.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.3721, allocations: 6.938 kB / 0.6141 GB, free: 32.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.3724, allocations: 65.81 kB / 0.6142 GB, free: 32.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.3724, allocations: 2.906 kB / 0.6142 GB, free: 32.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002961/0.3727, allocations: 50.7 kB / 0.6142 GB, free: 32.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.704e-05/0.3727, allocations: 16.16 kB / 0.6142 GB, free: 32.12 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000225/0.3729, allocations: 215.1 kB / 0.6144 GB, free: 32.04 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001907/0.3731, allocations: 216.6 kB / 0.6146 GB, free: 31.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000273/0.3734, allocations: 230.3 kB / 0.6149 GB, free: 31.81 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.442e-06/0.3734, allocations: 0 / 0.6149 GB, free: 31.81 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0004279/0.3739, allocations: 307.5 kB / 0.6152 GB, free: 31.76 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.372e-06/0.3739, allocations: 9.844 kB / 0.6152 GB, free: 31.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.3739, allocations: 7.031 kB / 0.6152 GB, free: 31.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.526e-06/0.3739, allocations: 6.312 kB / 0.6152 GB, free: 31.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001898/0.3741, allocations: 66.66 kB / 0.6152 GB, free: 31.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.3741, allocations: 6.406 kB / 0.6153 GB, free: 31.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003086/0.3744, allocations: 42.39 kB / 0.6153 GB, free: 31.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.3744, allocations: 20.41 kB / 0.6153 GB, free: 31.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 6.173e-05/0.3745, allocations: 197.3 kB / 0.6155 GB, free: 31.55 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.967e-05/0.3746, allocations: 48.09 kB / 0.6155 GB, free: 31.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004345/0.375, allocations: 261.3 kB / 0.6158 GB, free: 31.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.375, allocations: 3.062 kB / 0.6158 GB, free: 31.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.375, allocations: 4 kB / 0.6158 GB, free: 31.47 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.375, allocations: 0 / 0.6158 GB, free: 31.47 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007169/0.3758, allocations: 0.7281 MB / 0.6165 GB, free: 31.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.3758, allocations: 2.562 kB / 0.6165 GB, free: 31.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.3759, allocations: 39.84 kB / 0.6166 GB, free: 31.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3759, allocations: 0 / 0.6166 GB, free: 31.13 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.3759, allocations: 4.469 kB / 0.6166 GB, free: 31.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.3759, allocations: 6.406 kB / 0.6166 GB, free: 31.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3759, allocations: 2.906 kB / 0.6166 GB, free: 31.13 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003397/0.3763, allocations: 351.4 kB / 0.6169 GB, free: 30.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.499e-05/0.3764, allocations: 147.1 kB / 0.617 GB, free: 30.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.347e-05/0.3764, allocations: 11.25 kB / 0.6171 GB, free: 30.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/0.3766, allocations: 15.67 kB / 0.6171 GB, free: 30.81 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.3767, allocations: 20.16 kB / 0.6171 GB, free: 30.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.3767, allocations: 9.297 kB / 0.6171 GB, free: 30.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003144/0.377, allocations: 421.9 kB / 0.6175 GB, free: 30.72 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.377, allocations: 0 / 0.6175 GB, free: 30.72 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005834/0.3776, allocations: 230 kB / 0.6177 GB, free: 30.69 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.00134/0.379, allocations: 1.26 MB / 0.6189 GB, free: 29.93 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005494/0.3795, allocations: 343.8 kB / 0.6193 GB, free: 29.91 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3795, allocations: 0 / 0.6193 GB, free: 29.91 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.3797, allocations: 86.92 kB / 0.6194 GB, free: 29.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009981/0.3807, allocations: 262.5 kB / 0.6196 GB, free: 29.88 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003682/0.3844, allocations: 4.13 MB / 0.6236 GB, free: 27.95 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.3846, allocations: 0.8494 MB / 0.6245 GB, free: 27.25 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002863/0.3849, allocations: 104 kB / 0.6246 GB, free: 27.22 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.385, allocations: 165.8 kB / 0.6247 GB, free: 27.21 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.385, allocations: 0 / 0.6247 GB, free: 27.21 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.043/2.428, allocations: 14.69 MB / 0.6391 GB, free: 25.96 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001561/2.428, allocations: 241 kB / 0.6393 GB, free: 25.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.201/4.629, allocations: 0 / 0.6393 GB, free: 25.7 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)