Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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: "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="IDEAS_dev_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.001086/0.001086, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001163/0.001163, allocations: 197.9 kB / 16.14 MB, free: 6.688 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.197/1.197, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8375/0.8375, allocations: 135.1 MB / 425.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.00109, allocations: 64.22 kB / 0.5048 GB, free: 5.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1347, allocations: 80.91 MB / 0.5838 GB, free: 4.918 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.2931/0.4278, allocations: 114.4 MB / 0.6955 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03244/0.4603, allocations: 26.64 MB / 0.7215 GB, free: 9.812 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004238/0.4646, allocations: 103.8 kB / 0.7216 GB, free: 9.773 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003052/0.4677, allocations: 0.9325 MB / 0.7225 GB, free: 9.219 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.008844/0.4765, allocations: 3.156 MB / 0.7256 GB, free: 7.359 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005655/0.4822, allocations: 2.088 MB / 0.7277 GB, free: 6.039 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.009103/0.4913, allocations: 8.148 MB / 0.7356 GB, free: 1.551 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002501/0.4938, allocations: 1.591 MB / 0.7372 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004515/0.4984, allocations: 2.309 MB / 0.7394 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002727/0.5011, allocations: 1.77 MB / 0.7412 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004006/0.5015, allocations: 116 kB / 0.7413 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004586/0.5061, allocations: 2.14 MB / 0.7434 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004023/0.5065, allocations: 446 kB / 0.7438 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001275/0.5078, allocations: 1.166 MB / 0.7449 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004351/0.5122, allocations: 3.996 MB / 0.7488 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.5122, allocations: 8 kB / 0.7488 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of FrontEnd: time 6.91e-07/0.5122, allocations: 0 / 0.7488 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.943e-05/0.5122, allocations: 0 / 0.7488 GB, free: 5.625 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.004803/0.517, allocations: 2.838 MB / 0.7516 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.5171, allocations: 8.031 kB / 0.7516 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002163/0.5173, allocations: 198.6 kB / 0.7518 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005413/0.5178, allocations: 253.1 kB / 0.752 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003456/0.5213, allocations: 2.091 MB / 0.7541 GB, free: 124 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.553e-05/0.5214, allocations: 106.7 kB / 0.7542 GB, free: 16 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001829/0.5216, allocations: 143.9 kB / 0.7543 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002208/0.5238, allocations: 1.458 MB / 0.7558 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.037e-05/0.5238, allocations: 4 kB / 0.7558 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/0.5239, allocations: 52 kB / 0.7558 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.859e-05/0.524, allocations: 39.94 kB / 0.7558 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001749/0.5257, allocations: 1.021 MB / 0.7568 GB, free: 13.22 MB / 0.5762 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.007297/0.5331, allocations: 8.124 MB / 0.7648 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001391/0.5345, allocations: 0.8394 MB / 0.7656 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005501/0.535, allocations: 377.7 kB / 0.766 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001854/0.5369, allocations: 2.803 MB / 0.7687 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.5369, allocations: 47.22 kB / 0.7687 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=85): time 2.424e-06/0.5369, allocations: 0 / 0.7687 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85): time 0.002057/0.539, allocations: 1.124 MB / 0.7698 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.539, allocations: 64 kB / 0.7699 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00184/0.5409, allocations: 1.606 MB / 0.7715 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.185e-05/0.541, allocations: 45.64 kB / 0.7715 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006452/0.5416, allocations: 0.9354 MB / 0.7724 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002287/0.5419, allocations: 299.6 kB / 0.7727 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002863/0.5422, allocations: 238.6 kB / 0.7729 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.5423, allocations: 353.9 kB / 0.7733 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005581/0.5428, allocations: 325.9 kB / 0.7736 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007902/0.5436, allocations: 0.7033 MB / 0.7743 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001408/0.5451, allocations: 1.089 MB / 0.7753 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.5451, allocations: 4 kB / 0.7753 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002028/0.5471, allocations: 1.245 MB / 0.7766 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.5471, allocations: 12 kB / 0.7766 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.867e-05/0.5472, allocations: 12 kB / 0.7766 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.5472, allocations: 20.75 kB / 0.7766 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007684/0.548, allocations: 263.5 kB / 0.7768 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.149e-05/0.548, allocations: 27.86 kB / 0.7769 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/0.5491, allocations: 190.6 kB / 0.7771 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.5492, allocations: 63.98 kB / 0.7771 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000946/0.5502, allocations: 0.6197 MB / 0.7777 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007949/0.551, allocations: 0.7111 MB / 0.7784 GB, free: 5.164 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001381/0.5524, allocations: 1.077 MB / 0.7795 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.93e-06/0.5524, allocations: 4 kB / 0.7795 GB, free: 3.922 MB / 0.5919 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.001941/0.5543, allocations: 1.249 MB / 0.7807 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.5544, allocations: 8 kB / 0.7807 GB, free: 2.656 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.312e-05/0.5544, allocations: 16 kB / 0.7807 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.5544, allocations: 16 kB / 0.7807 GB, free: 2.625 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007565/0.5552, allocations: 260.1 kB / 0.781 GB, free: 2.371 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.416e-05/0.5552, allocations: 37.12 kB / 0.781 GB, free: 2.336 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009754/0.5562, allocations: 135.2 kB / 0.7811 GB, free: 2.203 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.563e-05/0.5563, allocations: 67.97 kB / 0.7812 GB, free: 2.137 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.0002175/0.5565, allocations: 251.9 kB / 0.7814 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002811/0.5568, allocations: 189.7 kB / 0.7816 GB, free: 1.695 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002823/0.5596, allocations: 1.748 MB / 0.7833 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-05/0.5597, allocations: 27.91 kB / 0.7834 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.5597, allocations: 3.938 kB / 0.7834 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001646/0.5613, allocations: 1.142 MB / 0.7845 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004662/0.566, allocations: 3.471 MB / 0.7879 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.179e-05/0.566, allocations: 8 kB / 0.7879 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006858/0.5667, allocations: 207.6 kB / 0.7881 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/0.5667, allocations: 15.94 kB / 0.7881 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.66e-05/0.5668, allocations: 39.98 kB / 0.7881 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.158e-05/0.5668, allocations: 11.98 kB / 0.7881 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/0.5668, allocations: 15.88 kB / 0.7882 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00294/0.5698, allocations: 2.226 MB / 0.7903 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005582/0.5704, allocations: 442.1 kB / 0.7908 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002222/0.5706, allocations: 28 kB / 0.7908 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009247/0.5715, allocations: 100.6 kB / 0.7909 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001708/0.5717, allocations: 116.7 kB / 0.791 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.873e-05/0.5718, allocations: 59.97 kB / 0.791 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001335/0.5731, allocations: 1.079 MB / 0.7921 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5732, allocations: 0 / 0.7921 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002472/0.5756, allocations: 1.127 MB / 0.7932 GB, free: 5.52 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.004359/0.58, allocations: 3.472 MB / 0.7966 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002515/0.5825, allocations: 1.792 MB / 0.7983 GB, free: 108 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.5825, allocations: 4 kB / 0.7983 GB, free: 104 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001104/0.5836, allocations: 0.8271 MB / 0.7991 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003658/0.5873, allocations: 0.9138 MB / 0.8 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02043/0.6078, allocations: 14.48 MB / 0.8142 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008916/0.6087, allocations: 1.444 MB / 0.8156 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001966/0.6107, allocations: 0.5388 MB / 0.8161 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009731/0.6116, allocations: 0.8467 MB / 0.8169 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of SimCode: time 7.21e-07/0.6116, allocations: 0 / 0.8169 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7671/1.379, allocations: 56.26 MB / 0.8719 GB, free: 211.3 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001414/1.379, allocations: 241.9 kB / 0.8721 GB, free: 211 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.348/4.727, allocations: 3.75 kB / 0.8721 GB, free: 211 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)