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.004495/0.004495, allocations: 96.94 kB / 15.73 MB, free: 6.484 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.001217/0.001217, allocations: 192.2 kB / 16.67 MB, free: 6.391 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9572/0.9572, allocations: 135.6 MB / 426.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 63.91 kB / 0.5857 GB, free: 3.234 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3832/0.385, allocations: 81.02 MB / 0.6649 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.1154/0.5004, allocations: 115.1 MB / 0.7773 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03832/0.5388, allocations: 26.53 MB / 0.8032 GB, free: 2.82 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004768/0.5436, allocations: 107.4 kB / 0.8033 GB, free: 2.715 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003575/0.5472, allocations: 1.149 MB / 0.8044 GB, free: 1.559 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01008/0.5573, allocations: 3.43 MB / 0.8078 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006318/0.5637, allocations: 2.34 MB / 0.8101 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.009241/0.5729, allocations: 6.183 MB / 0.8161 GB, free: 5.574 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00317/0.5761, allocations: 1.933 MB / 0.818 GB, free: 3.613 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006617/0.5828, allocations: 2.651 MB / 0.8206 GB, free: 0.957 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003416/0.5862, allocations: 1.766 MB / 0.8223 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0005055/0.5867, allocations: 224 kB / 0.8225 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005835/0.5926, allocations: 2.347 MB / 0.8248 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0007131/0.5933, allocations: 0.5371 MB / 0.8253 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002216/0.5955, allocations: 1.287 MB / 0.8266 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.007402/0.603, allocations: 4.128 MB / 0.8306 GB, free: 6.641 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.603, allocations: 0 / 0.8306 GB, free: 6.641 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.834e-06/0.603, allocations: 0 / 0.8306 GB, free: 6.641 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.004e-05/0.603, allocations: 0 / 0.8306 GB, free: 6.641 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.005601/0.6086, allocations: 2.916 MB / 0.8335 GB, free: 3.66 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.6087, allocations: 8.031 kB / 0.8335 GB, free: 3.652 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002452/0.6089, allocations: 194.6 kB / 0.8337 GB, free: 3.453 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000641/0.6096, allocations: 274.3 kB / 0.8339 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00415/0.6138, allocations: 2.152 MB / 0.836 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.2e-05/0.6139, allocations: 106.6 kB / 0.8361 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001919/0.6141, allocations: 136 kB / 0.8363 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002546/0.6166, allocations: 1.458 MB / 0.8377 GB, free: 15.2 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.533e-05/0.6167, allocations: 0 / 0.8377 GB, free: 15.2 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/0.6168, allocations: 56 kB / 0.8377 GB, free: 15.15 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-05/0.6168, allocations: 36 kB / 0.8378 GB, free: 15.11 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00195/0.6188, allocations: 1.029 MB / 0.8388 GB, free: 14.08 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.009116/0.6279, allocations: 8.153 MB / 0.8467 GB, free: 5.234 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001561/0.6295, allocations: 0.8336 MB / 0.8476 GB, free: 4.375 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006296/0.6302, allocations: 376.7 kB / 0.8479 GB, free: 4.008 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002331/0.6325, allocations: 2.803 MB / 0.8507 GB, free: 0.5781 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.313e-05/0.6326, allocations: 43.22 kB / 0.8507 GB, free: 0.5273 MB / 0.67 GB Notification: Performance of pre-optimization done (n=85): time 3.376e-06/0.6326, allocations: 0 / 0.8507 GB, free: 0.5273 MB / 0.67 GB Notification: Performance of matching and sorting (n=85): time 0.002438/0.635, allocations: 1.133 MB / 0.8518 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.6351, allocations: 67.98 kB / 0.8519 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00225/0.6373, allocations: 1.621 MB / 0.8535 GB, free: 13.65 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 7.43e-05/0.6374, allocations: 41.7 kB / 0.8535 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008723/0.6383, allocations: 0.9489 MB / 0.8544 GB, free: 12.65 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003247/0.6386, allocations: 321.3 kB / 0.8547 GB, free: 12.33 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003355/0.639, allocations: 234.8 kB / 0.8549 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.6391, allocations: 345.9 kB / 0.8553 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006543/0.6398, allocations: 330.7 kB / 0.8556 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009684/0.6408, allocations: 0.7072 MB / 0.8563 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001656/0.6424, allocations: 1.085 MB / 0.8573 GB, free: 9.301 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.819e-06/0.6425, allocations: 4 kB / 0.8573 GB, free: 9.297 MB / 0.6856 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002372/0.6448, allocations: 1.262 MB / 0.8586 GB, free: 8.027 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.6449, allocations: 11.94 kB / 0.8586 GB, free: 8.016 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.544e-05/0.6449, allocations: 19.94 kB / 0.8586 GB, free: 7.996 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.813e-05/0.6449, allocations: 23.94 kB / 0.8586 GB, free: 7.973 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008224/0.6458, allocations: 259.6 kB / 0.8589 GB, free: 7.719 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.709e-05/0.6458, allocations: 27.86 kB / 0.8589 GB, free: 7.691 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/0.6468, allocations: 135.1 kB / 0.859 GB, free: 7.559 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/0.647, allocations: 67.97 kB / 0.8591 GB, free: 7.492 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001139/0.6481, allocations: 0.6197 MB / 0.8597 GB, free: 6.867 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001009/0.6491, allocations: 0.7033 MB / 0.8604 GB, free: 5.996 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001696/0.6508, allocations: 1.081 MB / 0.8615 GB, free: 4.758 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.452e-06/0.6508, allocations: 4 kB / 0.8615 GB, free: 4.754 MB / 0.6856 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002328/0.6532, allocations: 1.258 MB / 0.8627 GB, free: 3.484 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.6532, allocations: 8 kB / 0.8627 GB, free: 3.477 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.898e-05/0.6532, allocations: 19.98 kB / 0.8627 GB, free: 3.457 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/0.6533, allocations: 23.94 kB / 0.8627 GB, free: 3.434 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007854/0.6541, allocations: 255.6 kB / 0.863 GB, free: 3.184 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.471e-05/0.6541, allocations: 23.88 kB / 0.863 GB, free: 3.16 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009907/0.6551, allocations: 103.5 kB / 0.8631 GB, free: 3.059 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.6552, allocations: 64.14 kB / 0.8632 GB, free: 2.996 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.0003302/0.6555, allocations: 253.9 kB / 0.8634 GB, free: 2.742 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003267/0.6559, allocations: 202.7 kB / 0.8636 GB, free: 2.543 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003164/0.659, allocations: 1.744 MB / 0.8653 GB, free: 0.7852 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.544e-05/0.6591, allocations: 23.98 kB / 0.8653 GB, free: 0.7617 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.6591, allocations: 0 / 0.8653 GB, free: 0.7617 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.319/0.9781, allocations: 1.14 MB / 0.8664 GB, free: 185 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005676/0.9838, allocations: 3.486 MB / 0.8698 GB, free: 183.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-05/0.9839, allocations: 11.92 kB / 0.8698 GB, free: 183.7 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007193/0.9846, allocations: 195.5 kB / 0.87 GB, free: 183.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.756e-05/0.9846, allocations: 12.19 kB / 0.87 GB, free: 183.6 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-05/0.9847, allocations: 52.94 kB / 0.8701 GB, free: 183.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.309e-05/0.9847, allocations: 18.72 kB / 0.8701 GB, free: 183.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.458e-06/0.9848, allocations: 6.75 kB / 0.8701 GB, free: 183.6 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003347/0.9881, allocations: 2.236 MB / 0.8723 GB, free: 182.6 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006109/0.9887, allocations: 448.1 kB / 0.8727 GB, free: 182.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002263/0.989, allocations: 37.52 kB / 0.8728 GB, free: 182.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007967/0.9898, allocations: 48 kB / 0.8728 GB, free: 182.4 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002138/0.99, allocations: 121.3 kB / 0.8729 GB, free: 182.4 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001198/0.9901, allocations: 59.52 kB / 0.873 GB, free: 182.4 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.00173/0.9919, allocations: 1.095 MB / 0.8741 GB, free: 181.9 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2e-07/0.9919, allocations: 0 / 0.8741 GB, free: 181.9 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003457/0.9953, allocations: 1.142 MB / 0.8752 GB, free: 181.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.00455/0.9999, allocations: 3.487 MB / 0.8786 GB, free: 180 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002777/1.003, allocations: 1.811 MB / 0.8803 GB, free: 179.3 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/1.003, allocations: 2.062 kB / 0.8803 GB, free: 179.3 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00112/1.004, allocations: 0.8228 MB / 0.8812 GB, free: 178.9 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004105/1.008, allocations: 0.9659 MB / 0.8821 GB, free: 178.6 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01574/1.024, allocations: 12.55 MB / 0.8944 GB, free: 171.2 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007597/1.024, allocations: 1.436 MB / 0.8958 GB, free: 170.2 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001709/1.026, allocations: 0.5402 MB / 0.8963 GB, free: 169.9 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008374/1.027, allocations: 0.8493 MB / 0.8971 GB, free: 169.2 MB / 0.6856 GB Notification: Performance of SimCode: time 5.51e-07/1.027, allocations: 3.938 kB / 0.8971 GB, free: 169.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08059/1.108, allocations: 58.74 MB / 0.9545 GB, free: 116.9 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/13.53, allocations: 4.594 kB / 0.9545 GB, free: 116.9 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)