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.009466/0.009466, allocations: 102 kB / 15.73 MB, free: 6.039 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.00198/0.00198, allocations: 194.9 kB / 16.68 MB, free: 5.961 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 4.141 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9755/0.9755, allocations: 135.1 MB / 425.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002375/0.002375, allocations: 59.91 kB / 0.5851 GB, free: 3.859 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4434/0.4458, allocations: 80.92 MB / 0.6641 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.1169/0.5627, allocations: 115.2 MB / 0.7766 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.04059/0.6034, allocations: 26.52 MB / 0.8025 GB, free: 3.496 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005336/0.6087, allocations: 115.4 kB / 0.8026 GB, free: 3.383 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003836/0.6127, allocations: 1.149 MB / 0.8037 GB, free: 2.227 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.009712/0.6224, allocations: 3.412 MB / 0.8071 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006204/0.6286, allocations: 2.348 MB / 0.8094 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.008313/0.637, allocations: 6.191 MB / 0.8154 GB, free: 6.246 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003311/0.6403, allocations: 1.929 MB / 0.8173 GB, free: 4.285 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005896/0.6462, allocations: 2.689 MB / 0.8199 GB, free: 1.594 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003218/0.6494, allocations: 1.774 MB / 0.8216 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0007366/0.6502, allocations: 220 kB / 0.8219 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005735/0.6559, allocations: 2.344 MB / 0.8241 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001045/0.657, allocations: 0.537 MB / 0.8247 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003672/0.6607, allocations: 1.283 MB / 0.8259 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00834/0.6691, allocations: 4.113 MB / 0.8299 GB, free: 7.297 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.6691, allocations: 0 / 0.8299 GB, free: 7.297 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.124e-06/0.6691, allocations: 0 / 0.8299 GB, free: 7.297 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.489e-05/0.6692, allocations: 0 / 0.8299 GB, free: 7.297 MB / 0.6544 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.005468/0.6746, allocations: 2.83 MB / 0.8327 GB, free: 4.406 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.6747, allocations: 12.03 kB / 0.8327 GB, free: 4.395 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000243/0.6749, allocations: 198.6 kB / 0.8329 GB, free: 4.191 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006636/0.6756, allocations: 257 kB / 0.8331 GB, free: 3.938 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004232/0.6799, allocations: 2.138 MB / 0.8352 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.076e-05/0.6799, allocations: 106.6 kB / 0.8353 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001884/0.6801, allocations: 140 kB / 0.8355 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002399/0.6825, allocations: 1.454 MB / 0.8369 GB, free: 15.97 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.18e-05/0.6826, allocations: 11.92 kB / 0.8369 GB, free: 15.96 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/0.6827, allocations: 56 kB / 0.837 GB, free: 15.91 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.542e-05/0.6828, allocations: 36 kB / 0.837 GB, free: 15.87 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00182/0.6846, allocations: 1.025 MB / 0.838 GB, free: 14.84 MB / 0.67 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.008859/0.6935, allocations: 8.12 MB / 0.8459 GB, free: 6.023 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001499/0.695, allocations: 0.8372 MB / 0.8467 GB, free: 5.16 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006292/0.6956, allocations: 376.7 kB / 0.8471 GB, free: 4.793 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002199/0.6978, allocations: 2.811 MB / 0.8498 GB, free: 1.355 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.6979, allocations: 43.16 kB / 0.8499 GB, free: 1.305 MB / 0.67 GB Notification: Performance of pre-optimization done (n=85): time 3.396e-06/0.6979, allocations: 0 / 0.8499 GB, free: 1.305 MB / 0.67 GB Notification: Performance of matching and sorting (n=85): time 0.002314/0.7002, allocations: 1.128 MB / 0.851 GB, free: 180 kB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.7003, allocations: 60.06 kB / 0.851 GB, free: 108 kB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002228/0.7025, allocations: 1.625 MB / 0.8526 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 7.348e-05/0.7026, allocations: 41.7 kB / 0.8527 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007248/0.7033, allocations: 0.9276 MB / 0.8536 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002963/0.7036, allocations: 303.6 kB / 0.8539 GB, free: 13.15 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003203/0.704, allocations: 235.4 kB / 0.8541 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.7041, allocations: 345.9 kB / 0.8544 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005929/0.7047, allocations: 329.9 kB / 0.8547 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009028/0.7056, allocations: 0.711 MB / 0.8554 GB, free: 11.37 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001564/0.7072, allocations: 1.085 MB / 0.8565 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.357e-06/0.7072, allocations: 4 kB / 0.8565 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002308/0.7095, allocations: 1.249 MB / 0.8577 GB, free: 8.855 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.98e-05/0.7095, allocations: 16.12 kB / 0.8577 GB, free: 8.84 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.68e-05/0.7096, allocations: 23.98 kB / 0.8577 GB, free: 8.816 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.833e-05/0.7096, allocations: 16 kB / 0.8578 GB, free: 8.801 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008047/0.7104, allocations: 259.5 kB / 0.858 GB, free: 8.547 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.654e-05/0.7105, allocations: 27.92 kB / 0.858 GB, free: 8.52 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/0.7115, allocations: 130.7 kB / 0.8582 GB, free: 8.391 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/0.7117, allocations: 67.97 kB / 0.8582 GB, free: 8.324 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001027/0.7127, allocations: 0.6158 MB / 0.8588 GB, free: 7.703 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008689/0.7136, allocations: 0.711 MB / 0.8595 GB, free: 6.824 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001514/0.7151, allocations: 1.081 MB / 0.8606 GB, free: 5.586 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.057e-06/0.7151, allocations: 4 kB / 0.8606 GB, free: 5.582 MB / 0.6856 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002302/0.7174, allocations: 1.249 MB / 0.8618 GB, free: 4.32 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.7174, allocations: 10.03 kB / 0.8618 GB, free: 4.312 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.33e-05/0.7175, allocations: 16 kB / 0.8618 GB, free: 4.297 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.7175, allocations: 19.94 kB / 0.8618 GB, free: 4.277 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007914/0.7183, allocations: 263.5 kB / 0.8621 GB, free: 4.02 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.287e-05/0.7183, allocations: 28.08 kB / 0.8621 GB, free: 3.992 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/0.7194, allocations: 95.45 kB / 0.8622 GB, free: 3.898 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/0.7195, allocations: 67.97 kB / 0.8623 GB, free: 3.832 MB / 0.6856 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.0002803/0.7198, allocations: 255.9 kB / 0.8625 GB, free: 3.574 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003974/0.7202, allocations: 193.6 kB / 0.8627 GB, free: 3.383 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003218/0.7234, allocations: 1.74 MB / 0.8644 GB, free: 1.629 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.072e-05/0.7234, allocations: 19.98 kB / 0.8644 GB, free: 1.609 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.7235, allocations: 0 / 0.8644 GB, free: 1.609 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001707/0.7252, allocations: 1.15 MB / 0.8655 GB, free: 436 kB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3233/1.048, allocations: 3.471 MB / 0.8689 GB, free: 184.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.533e-05/1.049, allocations: 10.48 kB / 0.8689 GB, free: 184.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007967/1.049, allocations: 205 kB / 0.8691 GB, free: 184.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.153e-05/1.049, allocations: 10.62 kB / 0.8692 GB, free: 184.6 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-05/1.049, allocations: 48.98 kB / 0.8692 GB, free: 184.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.981e-05/1.049, allocations: 13.14 kB / 0.8692 GB, free: 184.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.475e-06/1.049, allocations: 14.14 kB / 0.8692 GB, free: 184.6 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003966/1.053, allocations: 2.226 MB / 0.8714 GB, free: 183.6 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009205/1.054, allocations: 438 kB / 0.8718 GB, free: 183.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002415/1.055, allocations: 38.77 kB / 0.8719 GB, free: 183.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008278/1.055, allocations: 46.19 kB / 0.8719 GB, free: 183.3 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002394/1.056, allocations: 114.8 kB / 0.872 GB, free: 183.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000125/1.056, allocations: 63.88 kB / 0.8721 GB, free: 183.3 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001876/1.058, allocations: 1.086 MB / 0.8731 GB, free: 182.9 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.4e-07/1.058, allocations: 0 / 0.8731 GB, free: 182.9 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004841/1.063, allocations: 1.134 MB / 0.8742 GB, free: 182.8 MB / 0.6856 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.005277/1.068, allocations: 3.467 MB / 0.8776 GB, free: 181 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002847/1.071, allocations: 1.81 MB / 0.8794 GB, free: 180.3 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/1.071, allocations: 0 / 0.8794 GB, free: 180.3 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00114/1.072, allocations: 0.8211 MB / 0.8802 GB, free: 179.9 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004335/1.076, allocations: 0.9647 MB / 0.8811 GB, free: 179.7 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01708/1.093, allocations: 12.48 MB / 0.8933 GB, free: 172.5 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007875/1.094, allocations: 1.435 MB / 0.8947 GB, free: 171.4 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001779/1.096, allocations: 0.5382 MB / 0.8952 GB, free: 171.1 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008342/1.097, allocations: 0.8527 MB / 0.8961 GB, free: 170.4 MB / 0.6856 GB Notification: Performance of SimCode: time 8.21e-07/1.097, allocations: 0 / 0.8961 GB, free: 170.4 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08284/1.18, allocations: 59.68 MB / 0.9544 GB, free: 117.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/13.54, allocations: 8.641 kB / 0.9544 GB, free: 117.5 MB / 0.6856 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)