Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.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: translateModel(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 112.9 kB / 16.41 MB, free: 6.492 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.001173/0.001173, allocations: 189.6 kB / 17.34 MB, free: 5.766 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7909/0.7909, allocations: 132.2 MB / 423.4 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 62.14 kB / 0.582 GB, free: 23.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1637, allocations: 80.21 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.5837/0.7474, allocations: 161.3 MB / 0.8179 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.001991/0.7494, allocations: 0.9619 MB / 0.8188 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002206/0.7497, allocations: 14.38 kB / 0.8188 GB, free: 9.398 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005784/0.7503, allocations: 157.1 kB / 0.819 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001545/0.7519, allocations: 0.6412 MB / 0.8196 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005876/0.7525, allocations: 218.5 kB / 0.8198 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0005523/0.753, allocations: 0.5184 MB / 0.8203 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003145/0.7533, allocations: 168.4 kB / 0.8205 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004129/0.7538, allocations: 247.1 kB / 0.8207 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001985/0.754, allocations: 156.8 kB / 0.8209 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.702e-05/0.754, allocations: 14.66 kB / 0.8209 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008592/0.7549, allocations: 0.5434 MB / 0.8214 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.755, allocations: 85.14 kB / 0.8215 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.7551, allocations: 104.6 kB / 0.8216 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0007067/0.7558, allocations: 0.4913 MB / 0.8221 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.7558, allocations: 0 / 0.8221 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.173e-06/0.7559, allocations: 0 / 0.8221 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.176e-06/0.7559, allocations: 4 kB / 0.8221 GB, free: 7.656 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001442/0.7573, allocations: 0.5962 MB / 0.8226 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.7574, allocations: 9.75 kB / 0.8227 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002685/0.7576, allocations: 53.11 kB / 0.8227 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004339/0.7581, allocations: 287.5 kB / 0.823 GB, free: 6.812 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.7581, allocations: 19.31 kB / 0.823 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.588e-05/0.7582, allocations: 14.69 kB / 0.823 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004928/0.7586, allocations: 239.9 kB / 0.8232 GB, free: 6.652 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.7587, allocations: 6.953 kB / 0.8232 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.369e-05/0.7587, allocations: 4 kB / 0.8232 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.149e-05/0.7587, allocations: 7.875 kB / 0.8233 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005231/0.7593, allocations: 256.1 kB / 0.8235 GB, free: 6.52 MB / 0.5919 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.001205/0.7605, allocations: 0.8316 MB / 0.8243 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003062/0.7608, allocations: 154.2 kB / 0.8245 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/0.761, allocations: 107.4 kB / 0.8246 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002496/0.7613, allocations: 186.3 kB / 0.8247 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.7613, allocations: 40.69 kB / 0.8248 GB, free: 5.422 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.7613, allocations: 3.938 kB / 0.8248 GB, free: 5.418 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14): time 0.0007965/0.7621, allocations: 295.5 kB / 0.8251 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.7622, allocations: 51.41 kB / 0.8251 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.7624, allocations: 244.8 kB / 0.8253 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.7624, allocations: 25.7 kB / 0.8254 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.149e-05/0.7625, allocations: 142.6 kB / 0.8255 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.295e-05/0.7626, allocations: 55.25 kB / 0.8256 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.237e-05/0.7626, allocations: 38.11 kB / 0.8256 GB, free: 4.785 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.7628, allocations: 332.1 kB / 0.8259 GB, free: 4.457 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.7629, allocations: 67.02 kB / 0.826 GB, free: 4.426 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/0.7631, allocations: 111.3 kB / 0.8261 GB, free: 4.355 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003426/0.7635, allocations: 167.5 kB / 0.8262 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.7635, allocations: 0 / 0.8262 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004254/0.7639, allocations: 217 kB / 0.8265 GB, free: 4.137 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.764, allocations: 9.062 kB / 0.8265 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.764, allocations: 0 / 0.8265 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.764, allocations: 1.844 kB / 0.8265 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/0.7642, allocations: 30.56 kB / 0.8265 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.7642, allocations: 3.125 kB / 0.8265 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.7644, allocations: 27.23 kB / 0.8265 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.7644, allocations: 4.562 kB / 0.8265 GB, free: 4.105 MB / 0.5919 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 (15): * Single equations (assignments): 15 * 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.000136/0.7646, allocations: 145.3 kB / 0.8267 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.757e-05/0.7646, allocations: 26.09 kB / 0.8267 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.599e-05/0.7647, allocations: 26.55 kB / 0.8267 GB, free: 3.938 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.7647, allocations: 2.031 kB / 0.8267 GB, free: 3.938 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.7647, allocations: 0 / 0.8267 GB, free: 3.938 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.7647, allocations: 2.625 kB / 0.8267 GB, free: 3.938 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009804/0.7657, allocations: 0.6768 MB / 0.8274 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.7657, allocations: 1.812 kB / 0.8274 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.7659, allocations: 34.97 kB / 0.8274 GB, free: 3.348 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.7659, allocations: 2.656 kB / 0.8274 GB, free: 3.348 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.7659, allocations: 6.953 kB / 0.8274 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.66e-06/0.7659, allocations: 7.406 kB / 0.8274 GB, free: 3.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.7659, allocations: 6.516 kB / 0.8274 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004802/0.7664, allocations: 355.2 kB / 0.8278 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.469e-05/0.7665, allocations: 115.9 kB / 0.8279 GB, free: 2.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.75e-05/0.7666, allocations: 2.375 kB / 0.8279 GB, free: 2.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.7668, allocations: 12.8 kB / 0.8279 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.802e-05/0.7668, allocations: 17.45 kB / 0.8279 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.7668, allocations: 12.88 kB / 0.8279 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001429/0.767, allocations: 181.8 kB / 0.8281 GB, free: 2.777 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.934e-06/0.767, allocations: 0 / 0.8281 GB, free: 2.777 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003445/0.7673, allocations: 63.53 kB / 0.8282 GB, free: 2.762 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 14 * 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 Backend phase and start with SimCode phase: time 0.0003731/0.7677, allocations: 159.6 kB / 0.8283 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004449/0.7682, allocations: 174.2 kB / 0.8285 GB, free: 2.562 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7682, allocations: 2.344 kB / 0.8285 GB, free: 2.562 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002066/0.7684, allocations: 89.69 kB / 0.8286 GB, free: 2.523 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007294/0.7691, allocations: 126.2 kB / 0.8287 GB, free: 2.465 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007158/0.7699, allocations: 471.8 kB / 0.8291 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.7702, allocations: 0.7522 MB / 0.8299 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.519e-05/0.7703, allocations: 26.73 kB / 0.8299 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of SimCode: time 3.91e-07/0.7703, allocations: 0 / 0.8299 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of Templates: time 0.005617/0.7759, allocations: 3.705 MB / 0.8335 GB, free: 15.46 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)