Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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: translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001244, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.412/1.412, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.013/1.013, allocations: 135.1 MB / 425.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 68.3 kB / 0.5053 GB, free: 5.332 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.2096, allocations: 80.92 MB / 0.5844 GB, free: 4.566 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01872/0.2284, allocations: 15.54 MB / 0.5995 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006947/0.2354, allocations: 4.342 MB / 0.6038 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007022/0.2361, allocations: 19.88 kB / 0.6038 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001047/0.2372, allocations: 262.3 kB / 0.6041 GB, free: 332 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.3593/0.5966, allocations: 0.6 MB / 0.6046 GB, free: 36.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002039/0.5987, allocations: 0.6975 MB / 0.6053 GB, free: 36.32 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001266/0.5999, allocations: 1.024 MB / 0.6063 GB, free: 36.32 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004192/0.6004, allocations: 334.5 kB / 0.6066 GB, free: 36.3 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006385/0.601, allocations: 422.4 kB / 0.607 GB, free: 36.3 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003485/0.6014, allocations: 319.4 kB / 0.6073 GB, free: 36.25 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.768e-05/0.6014, allocations: 30.31 kB / 0.6074 GB, free: 36.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001045/0.6025, allocations: 0.6269 MB / 0.608 GB, free: 36.25 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.498e-05/0.6026, allocations: 101.8 kB / 0.6081 GB, free: 36.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001852/0.6028, allocations: 225.5 kB / 0.6083 GB, free: 36.16 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008467/0.6036, allocations: 0.7608 MB / 0.609 GB, free: 36.07 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.6037, allocations: 3.375 kB / 0.609 GB, free: 36.07 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.462e-06/0.6037, allocations: 0.5625 kB / 0.609 GB, free: 36.07 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.305e-05/0.6037, allocations: 4 kB / 0.6091 GB, free: 36.07 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.00108/0.6048, allocations: 0.8287 MB / 0.6099 GB, free: 35.5 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.6048, allocations: 9.594 kB / 0.6099 GB, free: 35.5 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.6049, allocations: 49.88 kB / 0.6099 GB, free: 35.47 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004708/0.6054, allocations: 414.5 kB / 0.6103 GB, free: 35.22 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.6054, allocations: 29.47 kB / 0.6103 GB, free: 35.21 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.052e-05/0.6055, allocations: 27.97 kB / 0.6104 GB, free: 35.21 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003795/0.6059, allocations: 216.2 kB / 0.6106 GB, free: 35.18 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.6059, allocations: 2.438 kB / 0.6106 GB, free: 35.18 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.6059, allocations: 7.562 kB / 0.6106 GB, free: 35.18 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.118e-06/0.6059, allocations: 5.656 kB / 0.6106 GB, free: 35.18 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003366/0.6063, allocations: 168.1 kB / 0.6108 GB, free: 35.18 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.001382/0.6077, allocations: 0.9503 MB / 0.6117 GB, free: 34.73 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002568/0.6079, allocations: 134.2 kB / 0.6118 GB, free: 34.7 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.6081, allocations: 67.02 kB / 0.6119 GB, free: 34.69 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002175/0.6083, allocations: 341.4 kB / 0.6122 GB, free: 34.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.6083, allocations: 36.47 kB / 0.6122 GB, free: 34.28 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.6084, allocations: 4 kB / 0.6122 GB, free: 34.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0005923/0.609, allocations: 236.9 kB / 0.6125 GB, free: 34.22 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/0.609, allocations: 51.41 kB / 0.6125 GB, free: 34.16 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004492/0.6094, allocations: 476.5 kB / 0.613 GB, free: 34.03 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.6095, allocations: 34.48 kB / 0.613 GB, free: 34 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.6097, allocations: 237.1 kB / 0.6132 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.6097, allocations: 43.59 kB / 0.6133 GB, free: 33.86 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.96e-05/0.6098, allocations: 66.05 kB / 0.6133 GB, free: 33.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.169e-05/0.6099, allocations: 348.1 kB / 0.6137 GB, free: 33.53 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.6101, allocations: 74.67 kB / 0.6137 GB, free: 33.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/0.6103, allocations: 151.6 kB / 0.6139 GB, free: 33.45 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003401/0.6107, allocations: 162.2 kB / 0.614 GB, free: 33.42 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.6107, allocations: 3.656 kB / 0.614 GB, free: 33.42 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000502/0.6112, allocations: 259.8 kB / 0.6143 GB, free: 33.36 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.6112, allocations: 5.5 kB / 0.6143 GB, free: 33.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.6112, allocations: 4 kB / 0.6143 GB, free: 33.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.6112, allocations: 2.594 kB / 0.6143 GB, free: 33.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002198/0.6115, allocations: 44.03 kB / 0.6143 GB, free: 33.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.6115, allocations: 2.812 kB / 0.6143 GB, free: 33.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002878/0.6118, allocations: 43.42 kB / 0.6144 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.794e-05/0.6118, allocations: 9.344 kB / 0.6144 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002365/0.6121, allocations: 189.1 kB / 0.6146 GB, free: 33.26 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000207/0.6123, allocations: 160.8 kB / 0.6147 GB, free: 33.17 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003047/0.6126, allocations: 171 kB / 0.6149 GB, free: 33.13 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.303e-06/0.6126, allocations: 0 / 0.6149 GB, free: 33.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004503/0.6131, allocations: 255.8 kB / 0.6151 GB, free: 33.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.305e-06/0.6131, allocations: 9.344 kB / 0.6151 GB, free: 33.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-06/0.6131, allocations: 6.281 kB / 0.6151 GB, free: 33.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.607e-06/0.6131, allocations: 2.969 kB / 0.6151 GB, free: 33.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.6133, allocations: 48.67 kB / 0.6152 GB, free: 33.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.6133, allocations: 2.812 kB / 0.6152 GB, free: 33.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003076/0.6136, allocations: 30.12 kB / 0.6152 GB, free: 33.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.6136, allocations: 13.06 kB / 0.6152 GB, free: 33.06 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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 9.038e-05/0.6137, allocations: 194.5 kB / 0.6154 GB, free: 32.88 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.666e-05/0.6138, allocations: 45.88 kB / 0.6155 GB, free: 32.85 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004928/0.6143, allocations: 254.3 kB / 0.6157 GB, free: 32.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.6143, allocations: 3.375 kB / 0.6157 GB, free: 32.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.6143, allocations: 3.344 kB / 0.6157 GB, free: 32.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.6143, allocations: 0 / 0.6157 GB, free: 32.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008165/0.6152, allocations: 0.6995 MB / 0.6164 GB, free: 32.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.6152, allocations: 6.641 kB / 0.6164 GB, free: 32.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.6153, allocations: 29.7 kB / 0.6164 GB, free: 32.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.6153, allocations: 0 / 0.6164 GB, free: 32.46 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.6153, allocations: 5.969 kB / 0.6164 GB, free: 32.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.6153, allocations: 6.312 kB / 0.6164 GB, free: 32.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.6153, allocations: 8.062 kB / 0.6165 GB, free: 32.45 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004011/0.6158, allocations: 341.5 kB / 0.6168 GB, free: 32.27 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.6159, allocations: 139.9 kB / 0.6169 GB, free: 32.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.315e-05/0.6159, allocations: 7.219 kB / 0.6169 GB, free: 32.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.6161, allocations: 9.594 kB / 0.6169 GB, free: 32.15 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.061e-05/0.6162, allocations: 21.31 kB / 0.6169 GB, free: 32.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.6162, allocations: 8.969 kB / 0.617 GB, free: 32.14 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003055/0.6165, allocations: 335.2 kB / 0.6173 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.6165, allocations: 3.281 kB / 0.6173 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000654/0.6172, allocations: 207.8 kB / 0.6175 GB, free: 32.02 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 (16): * Single equations (assignments): 14 * 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.0011/0.6183, allocations: 469.6 kB / 0.6179 GB, free: 31.87 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006475/0.619, allocations: 286.9 kB / 0.6182 GB, free: 31.86 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.619, allocations: 3.938 kB / 0.6182 GB, free: 31.86 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.6192, allocations: 83.08 kB / 0.6183 GB, free: 31.86 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.6202, allocations: 197.8 kB / 0.6185 GB, free: 31.83 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.6213, allocations: 0.7155 MB / 0.6192 GB, free: 31.47 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.6216, allocations: 0.8275 MB / 0.62 GB, free: 30.77 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002784/0.6219, allocations: 91.66 kB / 0.6201 GB, free: 30.74 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.891e-05/0.622, allocations: 45.12 kB / 0.6201 GB, free: 30.73 MB / 0.4981 GB Notification: Performance of SimCode: time 5.61e-07/0.622, allocations: 0 / 0.6201 GB, free: 30.73 MB / 0.4981 GB Notification: Performance of Templates: time 0.0156/0.6376, allocations: 8.462 MB / 0.6284 GB, free: 30.1 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)