Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 107.4 kB / 16.4 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001977/0.001976, allocations: 191.7 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.2/3.2, allocations: 489 MB / 0.7678 GB, free: 29.2 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 71.83 kB / 1.101 GB, free: 5.832 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8562/0.8582, allocations: 163.8 MB / 1.261 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.1257/0.984, allocations: 115.4 MB / 1.374 GB, free: 3.488 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.04039/1.024, allocations: 26.56 MB / 1.4 GB, free: 8.859 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008122/1.033, allocations: 115.4 kB / 1.4 GB, free: 8.746 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.004456/1.037, allocations: 1.153 MB / 1.401 GB, free: 7.586 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01238/1.05, allocations: 3.38 MB / 1.404 GB, free: 4.191 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.007764/1.057, allocations: 2.365 MB / 1.406 GB, free: 1.832 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01047/1.068, allocations: 6.136 MB / 1.412 GB, free: 11.68 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003863/1.072, allocations: 1.932 MB / 1.414 GB, free: 9.719 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007779/1.08, allocations: 2.789 MB / 1.417 GB, free: 6.926 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003595/1.083, allocations: 1.735 MB / 1.419 GB, free: 5.184 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.000608/1.084, allocations: 227.9 kB / 1.419 GB, free: 4.961 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006209/1.09, allocations: 2.336 MB / 1.421 GB, free: 2.621 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0007557/1.091, allocations: 0.5332 MB / 1.422 GB, free: 2.086 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.002154/1.093, allocations: 1.283 MB / 1.423 GB, free: 0.7969 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.008874/1.102, allocations: 4.123 MB / 1.427 GB, free: 12.66 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/1.102, allocations: 0 / 1.427 GB, free: 12.66 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.863e-06/1.102, allocations: 0 / 1.427 GB, free: 12.66 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.495e-05/1.102, allocations: 0 / 1.427 GB, free: 12.66 MB / 1.139 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.006575/1.109, allocations: 2.916 MB / 1.43 GB, free: 9.68 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/1.109, allocations: 12.03 kB / 1.43 GB, free: 9.668 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002625/1.109, allocations: 194.6 kB / 1.43 GB, free: 9.469 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007311/1.11, allocations: 270.4 kB / 1.43 GB, free: 9.203 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004558/1.114, allocations: 2.156 MB / 1.432 GB, free: 6.996 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.64e-05/1.114, allocations: 102.7 kB / 1.433 GB, free: 6.895 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002153/1.115, allocations: 136 kB / 1.433 GB, free: 6.762 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002742/1.117, allocations: 1.461 MB / 1.434 GB, free: 5.223 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.785e-05/1.117, allocations: 3.938 kB / 1.434 GB, free: 5.219 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001304/1.117, allocations: 60 kB / 1.434 GB, free: 5.16 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.161e-05/1.118, allocations: 39.94 kB / 1.434 GB, free: 5.121 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002006/1.12, allocations: 1.029 MB / 1.435 GB, free: 4.086 MB / 1.139 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.01072/1.13, allocations: 8.288 MB / 1.443 GB, free: 11.06 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001663/1.132, allocations: 0.8413 MB / 1.444 GB, free: 10.2 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006492/1.133, allocations: 381.8 kB / 1.445 GB, free: 9.824 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0026/1.135, allocations: 2.799 MB / 1.447 GB, free: 6.398 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.744e-05/1.135, allocations: 43.22 kB / 1.447 GB, free: 6.344 MB / 1.154 GB Notification: Performance of pre-optimization done (n=85): time 9.197e-06/1.135, allocations: 3.984 kB / 1.447 GB, free: 6.34 MB / 1.154 GB Notification: Performance of matching and sorting (n=85): time 0.002755/1.138, allocations: 1.149 MB / 1.448 GB, free: 5.188 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/1.138, allocations: 64 kB / 1.448 GB, free: 5.113 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002768/1.141, allocations: 1.614 MB / 1.45 GB, free: 3.457 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001169/1.141, allocations: 45.7 kB / 1.45 GB, free: 3.406 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009088/1.142, allocations: 0.9529 MB / 1.451 GB, free: 2.445 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003504/1.142, allocations: 313.2 kB / 1.451 GB, free: 2.137 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003568/1.143, allocations: 234.8 kB / 1.452 GB, free: 1.898 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001765/1.143, allocations: 353.9 kB / 1.452 GB, free: 1.547 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006119/1.143, allocations: 325.9 kB / 1.452 GB, free: 1.227 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/1.144, allocations: 0.7072 MB / 1.453 GB, free: 356 kB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001786/1.146, allocations: 1.089 MB / 1.454 GB, free: 15.1 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/1.146, allocations: 0 / 1.454 GB, free: 15.1 MB / 1.17 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002711/1.149, allocations: 1.258 MB / 1.455 GB, free: 13.83 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.003e-05/1.149, allocations: 15.94 kB / 1.455 GB, free: 13.82 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.635e-05/1.149, allocations: 12 kB / 1.455 GB, free: 13.8 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.382e-05/1.149, allocations: 20 kB / 1.455 GB, free: 13.79 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008685/1.15, allocations: 268.1 kB / 1.455 GB, free: 13.52 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.969e-05/1.15, allocations: 23.92 kB / 1.456 GB, free: 13.5 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/1.151, allocations: 139 kB / 1.456 GB, free: 13.36 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/1.151, allocations: 67.97 kB / 1.456 GB, free: 13.3 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001289/1.153, allocations: 0.6197 MB / 1.456 GB, free: 12.67 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001043/1.154, allocations: 0.7071 MB / 1.457 GB, free: 11.8 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00188/1.156, allocations: 1.081 MB / 1.458 GB, free: 10.56 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.033e-06/1.156, allocations: 4 kB / 1.458 GB, free: 10.56 MB / 1.17 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002545/1.158, allocations: 1.25 MB / 1.459 GB, free: 9.301 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/1.158, allocations: 12 kB / 1.459 GB, free: 9.289 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.571e-05/1.158, allocations: 24.08 kB / 1.459 GB, free: 9.266 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.275e-05/1.158, allocations: 16 kB / 1.459 GB, free: 9.25 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008146/1.159, allocations: 263.5 kB / 1.46 GB, free: 8.992 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.63e-05/1.159, allocations: 23.88 kB / 1.46 GB, free: 8.969 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/1.16, allocations: 99.48 kB / 1.46 GB, free: 8.871 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/1.161, allocations: 63.98 kB / 1.46 GB, free: 8.809 MB / 1.17 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.0003737/1.161, allocations: 255.8 kB / 1.46 GB, free: 8.551 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003473/1.161, allocations: 202.7 kB / 1.46 GB, free: 8.352 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00336/1.165, allocations: 1.736 MB / 1.462 GB, free: 6.609 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-05/1.165, allocations: 23.92 kB / 1.462 GB, free: 6.586 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/1.165, allocations: 3.984 kB / 1.462 GB, free: 6.582 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001905/1.167, allocations: 1.15 MB / 1.463 GB, free: 5.398 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006061/1.173, allocations: 3.482 MB / 1.466 GB, free: 1.754 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-05/1.173, allocations: 15.98 kB / 1.466 GB, free: 1.738 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007385/1.173, allocations: 204.5 kB / 1.467 GB, free: 1.539 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.759e-05/1.174, allocations: 15.98 kB / 1.467 GB, free: 1.523 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-05/1.174, allocations: 39.98 kB / 1.467 GB, free: 1.484 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.48e-05/1.174, allocations: 11.94 kB / 1.467 GB, free: 1.473 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.043e-05/1.174, allocations: 12.09 kB / 1.467 GB, free: 1.461 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003638/1.177, allocations: 2.243 MB / 1.469 GB, free: 15.11 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008442/1.178, allocations: 451.2 kB / 1.469 GB, free: 14.65 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002397/1.178, allocations: 32 kB / 1.469 GB, free: 14.62 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008221/1.179, allocations: 47.95 kB / 1.469 GB, free: 14.57 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002195/1.179, allocations: 116.7 kB / 1.47 GB, free: 14.46 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/1.18, allocations: 67.97 kB / 1.47 GB, free: 14.39 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001806/1.181, allocations: 1.091 MB / 1.471 GB, free: 13.28 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.7e-07/1.181, allocations: 0 / 1.471 GB, free: 13.28 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.003229/1.185, allocations: 1.146 MB / 1.472 GB, free: 12.13 MB / 1.186 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.005671/1.19, allocations: 3.486 MB / 1.475 GB, free: 8.551 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00339/1.194, allocations: 1.812 MB / 1.477 GB, free: 6.695 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/1.194, allocations: 0 / 1.477 GB, free: 6.695 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001346/1.195, allocations: 0.8254 MB / 1.478 GB, free: 5.84 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004609/1.2, allocations: 0.9624 MB / 1.479 GB, free: 4.891 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02018/1.22, allocations: 12.55 MB / 1.491 GB, free: 7.668 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001211/1.221, allocations: 1.436 MB / 1.492 GB, free: 6.195 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001962/1.223, allocations: 0.5423 MB / 1.493 GB, free: 5.652 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001154/1.224, allocations: 0.8467 MB / 1.494 GB, free: 4.805 MB / 1.201 GB Notification: Performance of SimCode: time 9.12e-07/1.224, allocations: 0 / 1.494 GB, free: 4.805 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1178/1.342, allocations: 58.78 MB / 1.551 GB, free: 10.69 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/13.55, allocations: 8.062 kB / 1.551 GB, free: 10.68 MB / 1.264 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.76004971191287] Failed to read output from testmodel.py, exit status != 0: 13.652665838133544 13.667127212 12.562536443 Calling exit ...