Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.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.PlugFlowPipeDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized") translateModel(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 116.2 kB / 16.42 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.001133/0.001133, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.326/1.326, 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.8027/0.8027, allocations: 132.2 MB / 423.4 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 62.27 kB / 0.582 GB, free: 23.87 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1578, allocations: 80.21 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized): time 0.06322/0.221, allocations: 66.53 MB / 0.7253 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02245/0.2435, allocations: 16.7 MB / 0.7416 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002441/0.246, allocations: 63.62 kB / 0.7417 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002529/0.2485, allocations: 0.8386 MB / 0.7425 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007484/0.2561, allocations: 2.667 MB / 0.7451 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005607/0.2617, allocations: 1.828 MB / 0.7469 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.39/0.6517, allocations: 35.79 MB / 0.7818 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02043/0.6722, allocations: 15.82 MB / 0.7973 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02617/0.6984, allocations: 12.01 MB / 0.809 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01845/0.7169, allocations: 9.712 MB / 0.8185 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.00451/0.7215, allocations: 1.453 MB / 0.8199 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01342/0.7349, allocations: 3.183 MB / 0.823 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.007487/0.7425, allocations: 3.28 MB / 0.8262 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0199/0.7624, allocations: 7.31 MB / 0.8334 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02992/0.7924, allocations: 21.97 MB / 0.8548 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.7924, allocations: 0 / 0.8548 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.803e-06/0.7924, allocations: 0 / 0.8548 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0006176/0.793, allocations: 0 / 0.8548 GB, free: 14.96 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1830 * Number of variables: 1830 Notification: Performance of Generate backend data structure: time 0.0403/0.8334, allocations: 13.13 MB / 0.8676 GB, free: 1.836 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/0.8334, allocations: 8.031 kB / 0.8676 GB, free: 1.828 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006976/0.8404, allocations: 1.296 MB / 0.8689 GB, free: 0.5195 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02825/0.8687, allocations: 12.96 MB / 0.8816 GB, free: 3.699 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005662/0.8693, allocations: 0.5283 MB / 0.8821 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002547/0.8718, allocations: 0.7094 MB / 0.8828 GB, free: 2.465 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02882/0.9007, allocations: 11.21 MB / 0.8937 GB, free: 6.98 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004835/0.9012, allocations: 31.77 kB / 0.8938 GB, free: 6.949 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002806/0.9041, allocations: 303.8 kB / 0.8941 GB, free: 6.656 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003027/0.9044, allocations: 219.5 kB / 0.8943 GB, free: 6.445 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02001/0.9244, allocations: 9.244 MB / 0.9033 GB, free: 13.19 MB / 0.6856 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.07942/1.004, allocations: 52.13 MB / 0.9542 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009038/1.013, allocations: 4.849 MB / 0.9589 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004888/1.018, allocations: 2.83 MB / 0.9617 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001764/1.02, allocations: 1.712 MB / 0.9634 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.92e-05/1.02, allocations: 86.27 kB / 0.9634 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=420): time 8.677e-06/1.02, allocations: 4 kB / 0.9635 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of matching and sorting (n=420): time 0.02084/1.041, allocations: 7.823 MB / 0.9711 GB, free: 4.406 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.626e-05/1.041, allocations: 90.55 kB / 0.9712 GB, free: 4.305 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02544/1.066, allocations: 10.47 MB / 0.9814 GB, free: 9.879 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.001804/1.068, allocations: 109.7 kB / 0.9815 GB, free: 9.766 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.00687/1.075, allocations: 4.719 MB / 0.9861 GB, free: 5.027 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.002834/1.078, allocations: 1.484 MB / 0.9876 GB, free: 3.555 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003108/1.081, allocations: 1.103 MB / 0.9886 GB, free: 2.441 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.299e-05/1.081, allocations: 301.1 kB / 0.9889 GB, free: 2.145 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004488/1.086, allocations: 2.688 MB / 0.9915 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005704/1.091, allocations: 4.196 MB / 0.9956 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01111/1.102, allocations: 7.408 MB / 1.003 GB, free: 2.539 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.756e-05/1.102, allocations: 16 kB / 1.003 GB, free: 2.523 MB / 0.7794 GB Notification: Performance of matching and sorting (n=694) (initialization): time 0.02026/1.123, allocations: 7.983 MB / 1.011 GB, free: 10.52 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.934e-05/1.123, allocations: 24 kB / 1.011 GB, free: 10.5 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002566/1.123, allocations: 71.97 kB / 1.011 GB, free: 10.43 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000118/1.123, allocations: 76 kB / 1.011 GB, free: 10.35 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004898/1.128, allocations: 1.213 MB / 1.012 GB, free: 9.137 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001515/1.128, allocations: 103.6 kB / 1.012 GB, free: 9.035 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00874/1.137, allocations: 0.6895 MB / 1.013 GB, free: 8.34 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001449/1.139, allocations: 283.9 kB / 1.013 GB, free: 8.062 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01296/1.152, allocations: 6.436 MB / 1.019 GB, free: 1.613 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007128/1.159, allocations: 4.193 MB / 1.023 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01227/1.171, allocations: 7.413 MB / 1.031 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.598e-05/1.171, allocations: 20 kB / 1.031 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of matching and sorting (n=694) (initialization_lambda0): time 0.01955/1.191, allocations: 7.982 MB / 1.039 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.723e-05/1.191, allocations: 24 kB / 1.039 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001931/1.191, allocations: 71.97 kB / 1.039 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.852e-05/1.191, allocations: 76 kB / 1.039 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004645/1.196, allocations: 1.202 MB / 1.04 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001294/1.196, allocations: 111.6 kB / 1.04 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007469/1.203, allocations: 0.578 MB / 1.041 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001157/1.204, allocations: 290.5 kB / 1.041 GB, free: 10.34 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 211 * 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 (674): * Single equations (assignments): 654 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * 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.002072/1.207, allocations: 0.5025 MB / 1.041 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003839/1.21, allocations: 0.8412 MB / 1.042 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01982/1.23, allocations: 8.913 MB / 1.051 GB, free: 144 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.6614/1.892, allocations: 6.108 MB / 1.057 GB, free: 297.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001121/1.892, allocations: 29.3 kB / 1.057 GB, free: 297.6 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006777/1.899, allocations: 2.23 MB / 1.059 GB, free: 296.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003563/1.902, allocations: 121.4 kB / 1.059 GB, free: 296.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007528/1.91, allocations: 323.8 kB / 1.059 GB, free: 296.8 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002363/1.912, allocations: 0.6042 MB / 1.06 GB, free: 296.7 MB / 0.8263 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01743/1.93, allocations: 7.481 MB / 1.067 GB, free: 294.1 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02458/1.954, allocations: 12.1 MB / 1.079 GB, free: 289.6 MB / 0.8263 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005145/1.959, allocations: 3.493 MB / 1.083 GB, free: 288.3 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 0.01723/1.977, allocations: 7.413 MB / 1.09 GB, free: 285.8 MB / 0.8263 GB Notification: Performance of Backend: time 1.242e-06/1.977, allocations: 0 / 1.09 GB, free: 285.8 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.0243/2.001, allocations: 9.437 MB / 1.099 GB, free: 281.9 MB / 0.8263 GB Notification: Performance of SimCode: time 0.05064/2.052, allocations: 25.56 MB / 1.124 GB, free: 259.1 MB / 0.8263 GB Notification: Performance of Templates: time 0.2629/2.315, allocations: 212.9 MB / 1.332 GB, free: 47.46 MB / 0.8263 GB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.makefile (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.pipe 2>&1)