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: "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe",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.001366/0.001366, allocations: 108 kB / 15.61 MB, free: 148 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.001342/0.001342, allocations: 195.8 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.142/1.142, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6477/0.6477, allocations: 132.2 MB / 422.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 69.14 kB / 0.5019 GB, free: 8.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1106, allocations: 80.2 MB / 0.5802 GB, free: 8.688 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.2677/0.3784, allocations: 115.1 MB / 0.6926 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.03027/0.4087, allocations: 26.52 MB / 0.7185 GB, free: 13.71 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003542/0.4122, allocations: 114.9 kB / 0.7186 GB, free: 13.67 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002594/0.4148, allocations: 1.149 MB / 0.7198 GB, free: 12.94 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.007345/0.4222, allocations: 3.417 MB / 0.7231 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004935/0.4272, allocations: 2.329 MB / 0.7254 GB, free: 9.359 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.006276/0.4335, allocations: 6.18 MB / 0.7314 GB, free: 5.777 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002276/0.4357, allocations: 1.927 MB / 0.7333 GB, free: 4.527 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004575/0.4403, allocations: 2.64 MB / 0.7359 GB, free: 2.934 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002458/0.4428, allocations: 1.776 MB / 0.7376 GB, free: 1.84 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003817/0.4432, allocations: 219.7 kB / 0.7378 GB, free: 1.84 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003869/0.4471, allocations: 2.34 MB / 0.7401 GB, free: 388 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004188/0.4475, allocations: 0.5332 MB / 0.7406 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001412/0.4489, allocations: 1.291 MB / 0.7419 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004182/0.4531, allocations: 4.059 MB / 0.7458 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.4531, allocations: 0 / 0.7458 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.42e-07/0.4531, allocations: 0 / 0.7458 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.796e-05/0.4531, allocations: 4 kB / 0.7459 GB, free: 10.47 MB / 0.5606 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.004059/0.4572, allocations: 2.829 MB / 0.7486 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.946e-05/0.4572, allocations: 12.03 kB / 0.7486 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001863/0.4574, allocations: 202.6 kB / 0.7488 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004731/0.4579, allocations: 261 kB / 0.7491 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003037/0.461, allocations: 2.064 MB / 0.7511 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.803e-05/0.461, allocations: 102.7 kB / 0.7512 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001486/0.4612, allocations: 132 kB / 0.7513 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001873/0.4631, allocations: 1.461 MB / 0.7527 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.817e-05/0.4631, allocations: 3.938 kB / 0.7527 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.4632, allocations: 52 kB / 0.7528 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.489e-05/0.4632, allocations: 40 kB / 0.7528 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00155/0.4648, allocations: 1.021 MB / 0.7538 GB, free: 2.102 MB / 0.5606 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.006416/0.4712, allocations: 8.182 MB / 0.7618 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001236/0.4725, allocations: 0.8368 MB / 0.7626 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005054/0.473, allocations: 375.8 kB / 0.763 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001627/0.4746, allocations: 2.799 MB / 0.7657 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.4747, allocations: 47.16 kB / 0.7658 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=85): time 2.184e-06/0.4747, allocations: 0 / 0.7658 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85): time 0.001802/0.4765, allocations: 1.132 MB / 0.7669 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.4765, allocations: 64 kB / 0.7669 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001608/0.4781, allocations: 1.621 MB / 0.7685 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.617e-05/0.4782, allocations: 45.7 kB / 0.7686 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005732/0.4788, allocations: 0.9315 MB / 0.7695 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/0.479, allocations: 295.6 kB / 0.7698 GB, free: 360 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002497/0.4792, allocations: 234.6 kB / 0.77 GB, free: 120 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.4793, allocations: 353.9 kB / 0.7703 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005011/0.4798, allocations: 329.9 kB / 0.7706 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007208/0.4806, allocations: 0.7065 MB / 0.7713 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/0.4819, allocations: 1.089 MB / 0.7724 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.4819, allocations: 0 / 0.7724 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00182/0.4837, allocations: 1.249 MB / 0.7736 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.4837, allocations: 10.8 kB / 0.7736 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.33e-05/0.4838, allocations: 20 kB / 0.7736 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.4838, allocations: 20 kB / 0.7737 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000701/0.4845, allocations: 263.5 kB / 0.7739 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.927e-05/0.4845, allocations: 23.92 kB / 0.7739 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007702/0.4853, allocations: 138.6 kB / 0.7741 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.16e-05/0.4854, allocations: 63.97 kB / 0.7741 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008391/0.4862, allocations: 0.6235 MB / 0.7747 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007379/0.487, allocations: 0.711 MB / 0.7754 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001268/0.4883, allocations: 1.073 MB / 0.7765 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.899e-06/0.4883, allocations: 4 kB / 0.7765 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.001771/0.4901, allocations: 1.245 MB / 0.7777 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.4901, allocations: 12 kB / 0.7777 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.206e-05/0.4901, allocations: 15.98 kB / 0.7777 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.4901, allocations: 20 kB / 0.7777 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006967/0.4908, allocations: 259.5 kB / 0.778 GB, free: 7.227 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.821e-05/0.4908, allocations: 23.88 kB / 0.778 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000746/0.4916, allocations: 107.5 kB / 0.7781 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.008e-05/0.4917, allocations: 59.98 kB / 0.7782 GB, free: 7.039 MB / 0.5919 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.0001716/0.4919, allocations: 259.8 kB / 0.7784 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002553/0.4921, allocations: 189.7 kB / 0.7786 GB, free: 6.59 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002519/0.4946, allocations: 1.751 MB / 0.7803 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.153e-05/0.4947, allocations: 19.92 kB / 0.7803 GB, free: 4.836 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4947, allocations: 0 / 0.7803 GB, free: 4.836 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001456/0.4962, allocations: 1.158 MB / 0.7815 GB, free: 3.652 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004006/0.5002, allocations: 3.471 MB / 0.7848 GB, free: 12 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.027e-05/0.5002, allocations: 11.98 kB / 0.7849 GB, free: 0 / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006241/0.5008, allocations: 204.4 kB / 0.7851 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.128e-06/0.5008, allocations: 16 kB / 0.7851 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.994e-05/0.5009, allocations: 39.98 kB / 0.7851 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.896e-06/0.5009, allocations: 11.94 kB / 0.7851 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/0.5009, allocations: 11.94 kB / 0.7851 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002603/0.5035, allocations: 2.23 MB / 0.7873 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004576/0.504, allocations: 438.2 kB / 0.7877 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002028/0.5042, allocations: 28 kB / 0.7877 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007135/0.5049, allocations: 51.88 kB / 0.7878 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.5051, allocations: 120.6 kB / 0.7879 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.371e-05/0.5052, allocations: 63.97 kB / 0.788 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00116/0.5064, allocations: 1.087 MB / 0.789 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5064, allocations: 3.938 kB / 0.789 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002044/0.5084, allocations: 1.131 MB / 0.7901 GB, free: 10.44 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 6 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,pipNoMix.del.x,pipNoMix.timDel.x) * 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 (129): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 27 * 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.003791/0.5122, allocations: 3.467 MB / 0.7935 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002885/0.5151, allocations: 1.898 MB / 0.7954 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5151, allocations: 0 / 0.7954 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009813/0.5161, allocations: 0.8254 MB / 0.7962 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003359/0.5195, allocations: 0.9808 MB / 0.7971 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01397/0.5334, allocations: 13.81 MB / 0.8106 GB, free: 4.109 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007555/0.5342, allocations: 1.436 MB / 0.812 GB, free: 2.641 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001458/0.5357, allocations: 0.5419 MB / 0.8126 GB, free: 2.121 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008156/0.5365, allocations: 0.8506 MB / 0.8134 GB, free: 1.273 MB / 0.6231 GB Notification: Performance of SimCode: time 2.9e-07/0.5365, allocations: 0 / 0.8134 GB, free: 1.273 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.057/3.593, allocations: 58.39 MB / 0.8704 GB, free: 213.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.714/13.31, allocations: 5.203 kB / 0.8704 GB, free: 213.8 MB / 0.67 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)