Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.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.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 110.2 kB / 16.42 MB, free: 6.523 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.001431/0.001431, allocations: 183.9 kB / 17.34 MB, free: 5.734 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.375/1.375, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7856/0.7856, allocations: 132.2 MB / 423.4 MB, free: 6.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 63.72 kB / 0.582 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1415, allocations: 80.2 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.4265/0.568, allocations: 115.1 MB / 0.7728 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0301/0.5981, allocations: 26.53 MB / 0.7987 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004465/0.6026, allocations: 113.3 kB / 0.7988 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002756/0.6054, allocations: 1.175 MB / 0.7999 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008529/0.614, allocations: 3.584 MB / 0.8034 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006183/0.6202, allocations: 2.361 MB / 0.8057 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008025/0.6282, allocations: 6.198 MB / 0.8118 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002481/0.6307, allocations: 1.941 MB / 0.8137 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005333/0.6361, allocations: 2.701 MB / 0.8163 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002779/0.6389, allocations: 1.769 MB / 0.8181 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004457/0.6393, allocations: 222.8 kB / 0.8183 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005633/0.645, allocations: 2.334 MB / 0.8205 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005835/0.6456, allocations: 0.5417 MB / 0.8211 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001566/0.6472, allocations: 1.285 MB / 0.8223 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00677/0.6539, allocations: 4.122 MB / 0.8264 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.654, allocations: 0 / 0.8264 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.703e-06/0.654, allocations: 0 / 0.8264 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.26e-05/0.654, allocations: 0 / 0.8264 GB, free: 9.871 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: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.005479/0.6595, allocations: 2.917 MB / 0.8292 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.6596, allocations: 13.69 kB / 0.8292 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006254/0.6602, allocations: 274.1 kB / 0.8295 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004074/0.6643, allocations: 2.153 MB / 0.8316 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.076e-05/0.6644, allocations: 103.4 kB / 0.8317 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001797/0.6646, allocations: 134.3 kB / 0.8318 GB, free: 5.973 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002216/0.6668, allocations: 1.461 MB / 0.8332 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.743e-05/0.6668, allocations: 2.5 kB / 0.8332 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/0.6669, allocations: 54.44 kB / 0.8333 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.955e-05/0.667, allocations: 41.38 kB / 0.8333 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001832/0.6688, allocations: 1.026 MB / 0.8343 GB, free: 4.434 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.00836/0.6772, allocations: 8.133 MB / 0.8423 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/0.6787, allocations: 0.8436 MB / 0.8431 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006171/0.6794, allocations: 383.8 kB / 0.8435 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002144/0.6815, allocations: 2.801 MB / 0.8462 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.6816, allocations: 47.22 kB / 0.8462 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=85): time 4.379e-06/0.6816, allocations: 3.938 kB / 0.8462 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85): time 0.002336/0.6839, allocations: 1.137 MB / 0.8474 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.684, allocations: 60.06 kB / 0.8474 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002172/0.6861, allocations: 1.621 MB / 0.849 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.853e-05/0.6862, allocations: 45.7 kB / 0.849 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007322/0.687, allocations: 0.9502 MB / 0.85 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003105/0.6873, allocations: 315.8 kB / 0.8503 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003329/0.6876, allocations: 230.8 kB / 0.8505 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.6878, allocations: 349.9 kB / 0.8508 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005988/0.6884, allocations: 329.9 kB / 0.8511 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009082/0.6893, allocations: 0.7111 MB / 0.8518 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001507/0.6908, allocations: 1.081 MB / 0.8529 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/0.6908, allocations: 4 kB / 0.8529 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002542/0.6934, allocations: 1.261 MB / 0.8541 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.6934, allocations: 13.66 kB / 0.8541 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.423e-05/0.6935, allocations: 16.78 kB / 0.8541 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.804e-05/0.6935, allocations: 16 kB / 0.8542 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008215/0.6943, allocations: 267.6 kB / 0.8544 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.165e-05/0.6944, allocations: 24.66 kB / 0.8544 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/0.6956, allocations: 135 kB / 0.8546 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/0.6957, allocations: 63.98 kB / 0.8546 GB, free: 14 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001113/0.6968, allocations: 0.6275 MB / 0.8552 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009013/0.6977, allocations: 0.6954 MB / 0.8559 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001664/0.6994, allocations: 1.085 MB / 0.857 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.116e-05/0.6994, allocations: 4 kB / 0.857 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002473/0.7019, allocations: 1.252 MB / 0.8582 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.7019, allocations: 16.2 kB / 0.8582 GB, free: 10 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.105e-05/0.702, allocations: 16 kB / 0.8582 GB, free: 9.984 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.702, allocations: 20 kB / 0.8583 GB, free: 9.965 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000808/0.7028, allocations: 259.5 kB / 0.8585 GB, free: 9.711 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.443e-05/0.7029, allocations: 23.92 kB / 0.8585 GB, free: 9.688 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/0.704, allocations: 111.3 kB / 0.8586 GB, free: 9.578 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/0.7042, allocations: 63.97 kB / 0.8587 GB, free: 9.516 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (140): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0003536/0.7045, allocations: 255.8 kB / 0.8589 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004812/0.705, allocations: 206.7 kB / 0.8591 GB, free: 9.055 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00325/0.7083, allocations: 1.736 MB / 0.8608 GB, free: 7.332 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001763/0.7101, allocations: 1.146 MB / 0.862 GB, free: 6.156 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.189e-05/0.7101, allocations: 4 kB / 0.862 GB, free: 6.152 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008104/0.7109, allocations: 435.2 kB / 0.8624 GB, free: 5.707 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003778/0.7113, allocations: 24 kB / 0.8624 GB, free: 5.684 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008633/0.7122, allocations: 39.92 kB / 0.8624 GB, free: 5.645 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001731/0.7123, allocations: 88.88 kB / 0.8625 GB, free: 5.559 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002389/0.7147, allocations: 1.322 MB / 0.8638 GB, free: 4.254 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003233/0.718, allocations: 2.13 MB / 0.8659 GB, free: 2.102 MB / 0.6231 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008193/0.7188, allocations: 0.5588 MB / 0.8664 GB, free: 1.543 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001844/0.7207, allocations: 1.095 MB / 0.8675 GB, free: 436 kB / 0.6231 GB Notification: Performance of Backend: time 4.31e-07/0.7207, allocations: 4 kB / 0.8675 GB, free: 432 kB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.005115/0.7258, allocations: 2.188 MB / 0.8696 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of SimCode: time 0.008045/0.7339, allocations: 4.388 MB / 0.8739 GB, free: 9.812 MB / 0.6387 GB Notification: Performance of Templates: time 0.0744/0.8083, allocations: 45.12 MB / 0.918 GB, free: 13.09 MB / 0.6856 GB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)