Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.002039/0.002039, allocations: 119 kB / 17.13 MB, free: 5.945 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.001872/0.001872, allocations: 192.7 kB / 20.08 MB, free: 3.012 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.488/1.488, allocations: 225.6 MB / 248.5 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8933/0.8933, allocations: 129.2 MB / 432.5 MB, free: 13.04 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 67.89 kB / 0.5987 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4548/0.4568, allocations: 83.44 MB / 0.6802 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.06559/0.5224, allocations: 41.93 MB / 0.7211 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01942/0.5418, allocations: 10.43 MB / 0.7313 GB, free: 9.492 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002547/0.5444, allocations: 55.69 kB / 0.7314 GB, free: 9.438 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002507/0.5469, allocations: 0.6638 MB / 0.732 GB, free: 8.77 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006532/0.5534, allocations: 1.983 MB / 0.7339 GB, free: 6.781 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004255/0.5576, allocations: 1.184 MB / 0.7351 GB, free: 5.605 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.006214/0.5639, allocations: 3.403 MB / 0.7384 GB, free: 2.191 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002156/0.566, allocations: 0.8647 MB / 0.7393 GB, free: 1.309 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004713/0.5707, allocations: 1.436 MB / 0.7407 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002305/0.573, allocations: 0.9177 MB / 0.7416 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005757/0.5736, allocations: 100 kB / 0.7417 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003281/0.5769, allocations: 0.8735 MB / 0.7425 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007332/0.5776, allocations: 294.8 kB / 0.7428 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001713/0.5793, allocations: 0.6376 MB / 0.7434 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004275/0.5836, allocations: 1.938 MB / 0.7453 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.5836, allocations: 0 / 0.7453 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.843e-06/0.5836, allocations: 7.938 kB / 0.7453 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.68e-05/0.5837, allocations: 3.938 kB / 0.7453 GB, free: 11.09 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.003167/0.5868, allocations: 1.537 MB / 0.7468 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.5869, allocations: 8.031 kB / 0.7468 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001635/0.587, allocations: 126.6 kB / 0.747 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004268/0.5875, allocations: 140.1 kB / 0.7471 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002385/0.5899, allocations: 1.117 MB / 0.7482 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.146e-05/0.5899, allocations: 62 kB / 0.7482 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.59, allocations: 68 kB / 0.7483 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001545/0.5916, allocations: 0.7983 MB / 0.7491 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/0.5916, allocations: 0 / 0.7491 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.65e-05/0.5917, allocations: 28 kB / 0.7491 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.48e-05/0.5917, allocations: 20 kB / 0.7491 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/0.5929, allocations: 0.5672 MB / 0.7497 GB, free: 6.492 MB / 0.5606 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.005436/0.5983, allocations: 3.707 MB / 0.7533 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006478/0.599, allocations: 246.7 kB / 0.7535 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003575/0.5993, allocations: 163.3 kB / 0.7537 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006761/0.6, allocations: 0.6648 MB / 0.7543 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.497e-05/0.6001, allocations: 42.5 kB / 0.7544 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 2.394e-06/0.6001, allocations: 0 / 0.7544 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001304/0.6014, allocations: 0.5246 MB / 0.7549 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/0.6014, allocations: 59.34 kB / 0.755 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001301/0.6027, allocations: 0.9495 MB / 0.7559 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.599e-05/0.6028, allocations: 33.7 kB / 0.7559 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004542/0.6032, allocations: 0.4888 MB / 0.7564 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/0.6034, allocations: 123 kB / 0.7565 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000182/0.6035, allocations: 118.2 kB / 0.7566 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.6037, allocations: 330 kB / 0.7569 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003661/0.6041, allocations: 161 kB / 0.7571 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005477/0.6046, allocations: 350.9 kB / 0.7574 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009106/0.6055, allocations: 0.5123 MB / 0.7579 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.6055, allocations: 4 kB / 0.7579 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001229/0.6068, allocations: 0.6177 MB / 0.7585 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.6068, allocations: 4 kB / 0.7585 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.6068, allocations: 8 kB / 0.7585 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.631e-05/0.6068, allocations: 11.98 kB / 0.7586 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004491/0.6073, allocations: 123.8 kB / 0.7587 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.948e-05/0.6073, allocations: 12.38 kB / 0.7587 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006053/0.6079, allocations: 91.42 kB / 0.7588 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.107e-05/0.608, allocations: 24 kB / 0.7588 GB, free: 12.53 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0004756/0.6084, allocations: 274.7 kB / 0.7591 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002048/0.6086, allocations: 107.3 kB / 0.7592 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/0.6099, allocations: 488.5 kB / 0.7596 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.619e-05/0.6099, allocations: 8.062 kB / 0.7596 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.6099, allocations: 7.938 kB / 0.7596 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000895/0.6108, allocations: 453.8 kB / 0.7601 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003274/0.6141, allocations: 1.355 MB / 0.7614 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.303e-06/0.6141, allocations: 0 / 0.7614 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003708/0.6145, allocations: 84.03 kB / 0.7615 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-05/0.6145, allocations: 4 kB / 0.7615 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.545e-05/0.6145, allocations: 8 kB / 0.7615 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.717e-06/0.6145, allocations: 4 kB / 0.7615 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.6145, allocations: 0 / 0.7615 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/0.6161, allocations: 0.7807 MB / 0.7623 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005583/0.6167, allocations: 228.3 kB / 0.7625 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002417/0.6169, allocations: 11.98 kB / 0.7625 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006129/0.6175, allocations: 39.92 kB / 0.7625 GB, free: 8.543 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.554e-05/0.6176, allocations: 27.91 kB / 0.7625 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.479e-05/0.6176, allocations: 15.98 kB / 0.7626 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00128/0.6189, allocations: 0.6666 MB / 0.7632 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6189, allocations: 0 / 0.7632 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001281/0.6202, allocations: 339.2 kB / 0.7635 GB, free: 7.492 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.003247/0.6235, allocations: 1.597 MB / 0.7651 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001205/0.6247, allocations: 403.8 kB / 0.7655 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.6247, allocations: 0 / 0.7655 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004685/0.6251, allocations: 181.4 kB / 0.7657 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003094/0.6282, allocations: 0.6111 MB / 0.7663 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01183/0.6401, allocations: 6.85 MB / 0.7729 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008267/0.6409, allocations: 1.044 MB / 0.774 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007951/0.6417, allocations: 196.2 kB / 0.7741 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005281/0.6422, allocations: 371.2 kB / 0.7745 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of SimCode: time 1.432e-06/0.6422, allocations: 3.938 kB / 0.7745 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07248/0.7147, allocations: 29.84 MB / 0.8037 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/11.19, allocations: 14.14 kB / 0.8037 GB, free: 14.46 MB / 0.6231 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.80192854302004] Failed to read output from testmodel.py, exit status != 0: 11.284365823026747 11.309185133 10.720693429 Calling exit ...