Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="Buildings_8_Buildings_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.001149/0.001149, 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.001381/0.001381, allocations: 194.1 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.482/1.482, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.812/1.812, allocations: 292.3 MB / 0.5489 GB, free: 12.86 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 70.83 kB / 0.6716 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2379, allocations: 114.5 MB / 0.7835 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.04523/0.2832, allocations: 44.69 MB / 0.8271 GB, free: 0.5625 MB / 0.6388 GB Notification: Performance of NFInst.instExpressions: time 0.01669/0.2999, allocations: 13.02 MB / 0.8398 GB, free: 3.504 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002374/0.3023, allocations: 39.81 kB / 0.8399 GB, free: 3.465 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002124/0.3045, allocations: 0.5938 MB / 0.8404 GB, free: 2.867 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005587/0.3101, allocations: 1.971 MB / 0.8424 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003659/0.3138, allocations: 1.317 MB / 0.8436 GB, free: 15.57 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00403/0.3178, allocations: 3.268 MB / 0.8468 GB, free: 12.29 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001476/0.3193, allocations: 1.056 MB / 0.8479 GB, free: 11.22 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002782/0.3221, allocations: 1.373 MB / 0.8492 GB, free: 9.844 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00123/0.3234, allocations: 0.9452 MB / 0.8501 GB, free: 8.895 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001854/0.3236, allocations: 132 kB / 0.8503 GB, free: 8.766 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002929/0.3265, allocations: 1.568 MB / 0.8518 GB, free: 7.195 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002717/0.3268, allocations: 307 kB / 0.8521 GB, free: 6.895 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0007349/0.3275, allocations: 0.6921 MB / 0.8528 GB, free: 6.199 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003441/0.331, allocations: 2.435 MB / 0.8551 GB, free: 3.758 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.331, allocations: 0 / 0.8551 GB, free: 3.758 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.905e-06/0.331, allocations: 0 / 0.8551 GB, free: 3.758 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.208e-05/0.331, allocations: 3.938 kB / 0.8551 GB, free: 3.754 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002967/0.334, allocations: 1.667 MB / 0.8568 GB, free: 2.035 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.3341, allocations: 12.03 kB / 0.8568 GB, free: 2.023 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001216/0.3342, allocations: 114.7 kB / 0.8569 GB, free: 1.902 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003343/0.3345, allocations: 139.1 kB / 0.857 GB, free: 1.766 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002245/0.3368, allocations: 1.178 MB / 0.8582 GB, free: 0.543 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.383e-05/0.3369, allocations: 54 kB / 0.8582 GB, free: 500 kB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.337, allocations: 64 kB / 0.8583 GB, free: 436 kB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/0.3383, allocations: 0.7637 MB / 0.859 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.465e-05/0.3383, allocations: 4 kB / 0.859 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.025e-05/0.3384, allocations: 28 kB / 0.8591 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.813e-05/0.3384, allocations: 16 kB / 0.8591 GB, free: 15.6 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/0.3395, allocations: 0.5672 MB / 0.8596 GB, free: 15.03 MB / 0.6856 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.004806/0.3443, allocations: 4.022 MB / 0.8636 GB, free: 10.69 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000937/0.3453, allocations: 473.8 kB / 0.864 GB, free: 10.22 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003602/0.3457, allocations: 216.6 kB / 0.8642 GB, free: 10.01 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001285/0.347, allocations: 1.504 MB / 0.8657 GB, free: 8.172 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.347, allocations: 46.86 kB / 0.8657 GB, free: 8.117 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=46): time 2.855e-06/0.347, allocations: 0 / 0.8657 GB, free: 8.117 MB / 0.6856 GB Notification: Performance of matching and sorting (n=46): time 0.001472/0.3485, allocations: 0.6665 MB / 0.8664 GB, free: 7.445 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.3485, allocations: 55.41 kB / 0.8664 GB, free: 7.379 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.35, allocations: 1.014 MB / 0.8674 GB, free: 6.348 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.712e-05/0.35, allocations: 37.7 kB / 0.8675 GB, free: 6.305 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000387/0.3504, allocations: 484.6 kB / 0.8679 GB, free: 5.824 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001753/0.3506, allocations: 169.5 kB / 0.8681 GB, free: 5.656 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001968/0.3508, allocations: 118.1 kB / 0.8682 GB, free: 5.535 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.351, allocations: 330 kB / 0.8685 GB, free: 5.207 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003704/0.3513, allocations: 191 kB / 0.8687 GB, free: 5.016 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004701/0.3518, allocations: 324.5 kB / 0.869 GB, free: 4.645 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008422/0.3527, allocations: 0.4996 MB / 0.8695 GB, free: 4.102 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.3527, allocations: 0 / 0.8695 GB, free: 4.102 MB / 0.6856 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001269/0.354, allocations: 0.6508 MB / 0.8701 GB, free: 3.445 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.354, allocations: 7.938 kB / 0.8701 GB, free: 3.438 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.478e-05/0.354, allocations: 8.438 kB / 0.8701 GB, free: 3.43 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.354, allocations: 8 kB / 0.8702 GB, free: 3.422 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004543/0.3545, allocations: 123.8 kB / 0.8703 GB, free: 3.301 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.635e-05/0.3545, allocations: 8 kB / 0.8703 GB, free: 3.293 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006384/0.3552, allocations: 83.17 kB / 0.8704 GB, free: 3.211 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-05/0.3552, allocations: 27.98 kB / 0.8704 GB, free: 3.184 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006584/0.3559, allocations: 401.1 kB / 0.8708 GB, free: 2.789 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004648/0.3564, allocations: 316.5 kB / 0.8711 GB, free: 2.43 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000815/0.3572, allocations: 0.5032 MB / 0.8716 GB, free: 1.879 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.615e-06/0.3572, allocations: 4 kB / 0.8716 GB, free: 1.875 MB / 0.6856 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.001184/0.3584, allocations: 0.643 MB / 0.8722 GB, free: 1.223 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.3584, allocations: 4 kB / 0.8722 GB, free: 1.219 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.3585, allocations: 16.38 kB / 0.8722 GB, free: 1.203 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.3585, allocations: 11.94 kB / 0.8722 GB, free: 1.191 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004234/0.3589, allocations: 123.8 kB / 0.8723 GB, free: 1.07 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.3589, allocations: 15.92 kB / 0.8724 GB, free: 1.055 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006072/0.3595, allocations: 47.58 kB / 0.8724 GB, free: 1.008 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.687e-05/0.3596, allocations: 31.98 kB / 0.8724 GB, free: 0.9766 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0002039/0.3598, allocations: 212.1 kB / 0.8726 GB, free: 0.7617 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001887/0.36, allocations: 110.6 kB / 0.8727 GB, free: 0.6523 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001714/0.3617, allocations: 0.9758 MB / 0.8737 GB, free: 15.66 MB / 0.7013 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.896e-05/0.3618, allocations: 7.984 kB / 0.8737 GB, free: 15.66 MB / 0.7013 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.3618, allocations: 4 kB / 0.8737 GB, free: 15.65 MB / 0.7013 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001024/0.3628, allocations: 0.8336 MB / 0.8745 GB, free: 14.75 MB / 0.7013 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003096/0.3659, allocations: 2.008 MB / 0.8765 GB, free: 12.65 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.676e-05/0.3659, allocations: 11.92 kB / 0.8765 GB, free: 12.64 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000399/0.3664, allocations: 100 kB / 0.8766 GB, free: 12.54 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.578e-06/0.3664, allocations: 4 kB / 0.8766 GB, free: 12.54 MB / 0.7013 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.165e-05/0.3664, allocations: 24.05 kB / 0.8766 GB, free: 12.51 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.3664, allocations: 4 kB / 0.8766 GB, free: 12.51 MB / 0.7013 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.3664, allocations: 4 kB / 0.8766 GB, free: 12.5 MB / 0.7013 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001838/0.3683, allocations: 1.206 MB / 0.8778 GB, free: 11.26 MB / 0.7013 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004321/0.3687, allocations: 283.4 kB / 0.8781 GB, free: 10.96 MB / 0.7013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001514/0.3689, allocations: 16 kB / 0.8781 GB, free: 10.95 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005219/0.3694, allocations: 27.97 kB / 0.8781 GB, free: 10.92 MB / 0.7013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.3695, allocations: 60.38 kB / 0.8782 GB, free: 10.86 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.549e-05/0.3696, allocations: 31.92 kB / 0.8782 GB, free: 10.83 MB / 0.7013 GB Notification: Performance of sorting global known variables: time 0.001028/0.3706, allocations: 0.7226 MB / 0.8789 GB, free: 10.1 MB / 0.7013 GB Notification: Performance of sort global known variables: time 4.31e-07/0.3706, allocations: 0 / 0.8789 GB, free: 10.1 MB / 0.7013 GB Notification: Performance of remove unused functions: time 0.001551/0.3722, allocations: 0.6085 MB / 0.8795 GB, free: 9.488 MB / 0.7013 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (pip.cor.del.x,pip.cor.timDel.x,pip.vol.dynBal.U,senTemOut.T,senTemIn.T) * 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 (62): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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.002975/0.3752, allocations: 2.164 MB / 0.8816 GB, free: 7.289 MB / 0.7013 GB Notification: Performance of simCode: created initialization part: time 0.001935/0.3771, allocations: 0.97 MB / 0.8826 GB, free: 6.285 MB / 0.7013 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.3772, allocations: 4.188 kB / 0.8826 GB, free: 6.281 MB / 0.7013 GB Notification: Performance of simCode: created simulation system equations: time 0.0005727/0.3777, allocations: 402.4 kB / 0.8829 GB, free: 5.879 MB / 0.7013 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003083/0.3808, allocations: 0.6133 MB / 0.8835 GB, free: 5.277 MB / 0.7013 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01219/0.393, allocations: 8.584 MB / 0.8919 GB, free: 12.28 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005918/0.3937, allocations: 1.058 MB / 0.893 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001158/0.3949, allocations: 288.8 kB / 0.8932 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005383/0.3954, allocations: 443.3 kB / 0.8937 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of SimCode: time 7.81e-07/0.3954, allocations: 0 / 0.8937 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4542/0.8496, allocations: 36.94 MB / 0.9297 GB, free: 132.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.604/9.454, allocations: 0 / 0.9297 GB, free: 132.6 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)