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.001088/0.001088, allocations: 108 kB / 15.6 MB, free: 132 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.001075/0.001074, allocations: 199.7 kB / 16.54 MB, free: 6.672 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.166/1.166, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8022/0.8022, allocations: 135.1 MB / 425.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001088, allocations: 72.89 kB / 0.5054 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1191, allocations: 80.92 MB / 0.5845 GB, free: 4.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.2875/0.4067, allocations: 115.1 MB / 0.6969 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03237/0.4391, allocations: 26.52 MB / 0.7228 GB, free: 9.023 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004139/0.4432, allocations: 114.7 kB / 0.7229 GB, free: 8.984 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00282/0.4461, allocations: 1.151 MB / 0.724 GB, free: 8.25 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.008476/0.4546, allocations: 3.412 MB / 0.7274 GB, free: 6.008 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005928/0.4605, allocations: 2.33 MB / 0.7296 GB, free: 4.199 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.007226/0.4678, allocations: 6.173 MB / 0.7357 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002448/0.4702, allocations: 1.933 MB / 0.7376 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005158/0.4754, allocations: 2.644 MB / 0.7401 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002353/0.4778, allocations: 1.778 MB / 0.7419 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002648/0.478, allocations: 221.2 kB / 0.7421 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004424/0.4825, allocations: 2.331 MB / 0.7444 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004329/0.4829, allocations: 0.537 MB / 0.7449 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001332/0.4843, allocations: 1.279 MB / 0.7461 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004453/0.4887, allocations: 4.067 MB / 0.7501 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.4887, allocations: 0 / 0.7501 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.705e-06/0.4887, allocations: 0 / 0.7501 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.879e-05/0.4888, allocations: 3.938 kB / 0.7501 GB, free: 4.539 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.004328/0.4931, allocations: 2.841 MB / 0.7529 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.4931, allocations: 8.031 kB / 0.7529 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001967/0.4933, allocations: 194.6 kB / 0.7531 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005272/0.4939, allocations: 265.1 kB / 0.7533 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003205/0.4971, allocations: 2.061 MB / 0.7554 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.132e-05/0.4972, allocations: 102.7 kB / 0.7555 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001634/0.4973, allocations: 139.9 kB / 0.7556 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001991/0.4993, allocations: 1.461 MB / 0.757 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.089e-05/0.4994, allocations: 0 / 0.757 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.4995, allocations: 59.94 kB / 0.7571 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.571e-05/0.4995, allocations: 35.94 kB / 0.7571 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001631/0.5012, allocations: 1.021 MB / 0.7581 GB, free: 12.16 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.00705/0.5082, allocations: 8.182 MB / 0.7661 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/0.5096, allocations: 0.8356 MB / 0.7669 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005343/0.5101, allocations: 381 kB / 0.7673 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001824/0.5119, allocations: 2.807 MB / 0.77 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.512, allocations: 43.22 kB / 0.7701 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=85): time 2.665e-06/0.512, allocations: 3.938 kB / 0.7701 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85): time 0.002018/0.514, allocations: 1.128 MB / 0.7712 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.5141, allocations: 68 kB / 0.7712 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001794/0.5159, allocations: 1.621 MB / 0.7728 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.179e-05/0.5159, allocations: 41.7 kB / 0.7728 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006174/0.5165, allocations: 0.9276 MB / 0.7738 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002274/0.5168, allocations: 307.6 kB / 0.774 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002743/0.5171, allocations: 230.6 kB / 0.7743 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.5172, allocations: 349.9 kB / 0.7746 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005279/0.5177, allocations: 329.9 kB / 0.7749 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00078/0.5185, allocations: 0.7072 MB / 0.7756 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001368/0.5199, allocations: 1.081 MB / 0.7767 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.5199, allocations: 7.938 kB / 0.7767 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001967/0.5219, allocations: 1.246 MB / 0.7779 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.5219, allocations: 15.98 kB / 0.7779 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.965e-05/0.5219, allocations: 16 kB / 0.7779 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.513e-05/0.522, allocations: 16 kB / 0.7779 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007448/0.5227, allocations: 259.5 kB / 0.7782 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.331e-05/0.5227, allocations: 31.86 kB / 0.7782 GB, free: 5.773 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008996/0.5236, allocations: 130.7 kB / 0.7783 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.684e-05/0.5238, allocations: 71.97 kB / 0.7784 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009246/0.5247, allocations: 0.6158 MB / 0.779 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000747/0.5254, allocations: 0.7072 MB / 0.7797 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001346/0.5268, allocations: 1.081 MB / 0.7807 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.808e-06/0.5268, allocations: 0 / 0.7807 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.001882/0.5287, allocations: 1.245 MB / 0.782 GB, free: 1.59 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.5287, allocations: 12 kB / 0.782 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-05/0.5288, allocations: 16 kB / 0.782 GB, free: 1.562 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.5288, allocations: 16 kB / 0.782 GB, free: 1.547 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007067/0.5295, allocations: 260 kB / 0.7823 GB, free: 1.293 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.107e-05/0.5295, allocations: 39.8 kB / 0.7823 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008259/0.5303, allocations: 95.17 kB / 0.7824 GB, free: 1.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.739e-05/0.5304, allocations: 67.97 kB / 0.7824 GB, free: 1.094 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.000228/0.5307, allocations: 251.8 kB / 0.7827 GB, free: 0.8398 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002711/0.531, allocations: 189.7 kB / 0.7829 GB, free: 0.6523 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002682/0.5336, allocations: 1.75 MB / 0.7846 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-05/0.5337, allocations: 19.92 kB / 0.7846 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.5337, allocations: 0 / 0.7846 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001552/0.5353, allocations: 1.138 MB / 0.7857 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004515/0.5398, allocations: 3.486 MB / 0.7891 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.376e-05/0.5398, allocations: 15.98 kB / 0.7891 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006378/0.5405, allocations: 204.5 kB / 0.7893 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.116e-05/0.5405, allocations: 12 kB / 0.7893 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.952e-05/0.5406, allocations: 43.97 kB / 0.7894 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.051e-05/0.5406, allocations: 12 kB / 0.7894 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/0.5406, allocations: 15.88 kB / 0.7894 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00281/0.5434, allocations: 2.226 MB / 0.7916 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005484/0.544, allocations: 442.1 kB / 0.792 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002128/0.5442, allocations: 31.98 kB / 0.792 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007458/0.5449, allocations: 39.98 kB / 0.7921 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/0.5451, allocations: 120.7 kB / 0.7922 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.992e-05/0.5452, allocations: 63.95 kB / 0.7922 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001332/0.5465, allocations: 1.087 MB / 0.7933 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5465, allocations: 4 kB / 0.7933 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00247/0.549, allocations: 1.131 MB / 0.7944 GB, free: 4.5 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.004369/0.5534, allocations: 3.477 MB / 0.7978 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003397/0.5568, allocations: 1.898 MB / 0.7997 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.5568, allocations: 4.938 kB / 0.7997 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001078/0.5579, allocations: 0.8245 MB / 0.8005 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00406/0.562, allocations: 0.9673 MB / 0.8014 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01826/0.5802, allocations: 13.83 MB / 0.8149 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/0.5813, allocations: 1.432 MB / 0.8163 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001917/0.5832, allocations: 0.5381 MB / 0.8168 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009679/0.5842, allocations: 0.8506 MB / 0.8177 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of SimCode: time 6.91e-07/0.5842, allocations: 0 / 0.8177 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.308/4.892, allocations: 58.39 MB / 0.8747 GB, free: 215.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/15.88, allocations: 10.75 kB / 0.8747 GB, free: 215.4 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)