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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008661/0.0008661, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009635/0.0009635, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.927/0.927, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5653/0.5653, allocations: 114 MB / 373.9 MB, free: 8.703 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 2.154e-06/2.154e-06, allocations: 0 / 0.5542 GB, free: 2.73 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.699e-05/2.915e-05, allocations: 3.266 kB / 0.5542 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.02779/0.02782, allocations: 38.13 MB / 0.5914 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01122/0.03904, allocations: 9.646 MB / 0.6009 GB, free: 2.789 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002016/0.04106, allocations: 75.38 kB / 0.6009 GB, free: 2.715 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001965/0.04302, allocations: 0.6518 MB / 0.6016 GB, free: 2.059 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.005338/0.04836, allocations: 2.053 MB / 0.6036 GB, free: 15.99 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002823/0.05118, allocations: 1.257 MB / 0.6048 GB, free: 14.75 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.004661/0.05584, allocations: 3.444 MB / 0.6082 GB, free: 11.3 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001374/0.05722, allocations: 0.7729 MB / 0.6089 GB, free: 10.5 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004248/0.06146, allocations: 1.884 MB / 0.6108 GB, free: 8.621 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001613/0.06308, allocations: 0.7865 MB / 0.6115 GB, free: 7.832 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.00024/0.06332, allocations: 100 kB / 0.6116 GB, free: 7.734 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001769/0.06509, allocations: 0.7208 MB / 0.6123 GB, free: 7.012 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002737/0.06536, allocations: 306.7 kB / 0.6126 GB, free: 6.711 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005934/0.06595, allocations: 435 kB / 0.613 GB, free: 6.285 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.002708/0.06866, allocations: 1.967 MB / 0.615 GB, free: 4.312 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/0.06867, allocations: 0 / 0.615 GB, free: 4.312 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.064e-06/0.06867, allocations: 0 / 0.615 GB, free: 4.312 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2.67e-05/0.0687, allocations: 0 / 0.615 GB, free: 4.312 MB / 0.573 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.001961/0.07066, allocations: 1.469 MB / 0.6164 GB, free: 2.805 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.07071, allocations: 12.03 kB / 0.6164 GB, free: 2.793 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001033/0.07081, allocations: 114.7 kB / 0.6165 GB, free: 2.672 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000274/0.07108, allocations: 143.9 kB / 0.6167 GB, free: 2.531 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.07239, allocations: 1.055 MB / 0.6177 GB, free: 1.441 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.524e-05/0.07242, allocations: 54 kB / 0.6177 GB, free: 1.387 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.321e-05/0.07249, allocations: 71.94 kB / 0.6178 GB, free: 1.316 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009957/0.07349, allocations: 0.945 MB / 0.6187 GB, free: 312 kB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.07351, allocations: 4 kB / 0.6187 GB, free: 308 kB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.641e-05/0.07356, allocations: 32 kB / 0.6188 GB, free: 276 kB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.926e-05/0.07359, allocations: 16 kB / 0.6188 GB, free: 260 kB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007284/0.07431, allocations: 0.575 MB / 0.6193 GB, free: 15.68 MB / 0.5886 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.003045/0.07736, allocations: 2.728 MB / 0.622 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004926/0.07785, allocations: 246.9 kB / 0.6222 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002067/0.07806, allocations: 163.2 kB / 0.6224 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002081/0.07827, allocations: 55.97 kB / 0.6224 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.0783, allocations: 43.08 kB / 0.6225 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=31): time 3.026e-06/0.0783, allocations: 0 / 0.6225 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of matching and sorting (n=31): time 0.000939/0.07924, allocations: 0.5203 MB / 0.623 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.07928, allocations: 55.41 kB / 0.623 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.08028, allocations: 0.9689 MB / 0.624 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.899e-05/0.08033, allocations: 37.7 kB / 0.624 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003169/0.08065, allocations: 0.4926 MB / 0.6245 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.08075, allocations: 123 kB / 0.6246 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.08088, allocations: 110.3 kB / 0.6247 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.249e-05/0.08097, allocations: 333.8 kB / 0.625 GB, free: 9.648 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002269/0.08119, allocations: 169.2 kB / 0.6252 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003537/0.08155, allocations: 0.4903 MB / 0.6257 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005044/0.08205, allocations: 0.5192 MB / 0.6262 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.08206, allocations: 0 / 0.6262 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0007896/0.08285, allocations: 0.6259 MB / 0.6268 GB, free: 7.66 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.344e-05/0.08288, allocations: 12 kB / 0.6268 GB, free: 7.648 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.08289, allocations: 4.062 kB / 0.6268 GB, free: 7.645 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.764e-05/0.08292, allocations: 12 kB / 0.6268 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000281/0.0832, allocations: 123.8 kB / 0.627 GB, free: 7.512 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.08321, allocations: 11.94 kB / 0.627 GB, free: 7.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004407/0.08365, allocations: 91.31 kB / 0.6271 GB, free: 7.41 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.88e-05/0.08369, allocations: 27.98 kB / 0.6271 GB, free: 7.383 MB / 0.5886 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.0003441/0.08404, allocations: 273.7 kB / 0.6273 GB, free: 7.105 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.08415, allocations: 103.3 kB / 0.6274 GB, free: 7.004 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006791/0.08483, allocations: 487.5 kB / 0.6279 GB, free: 6.523 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.08484, allocations: 4 kB / 0.6279 GB, free: 6.52 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.08485, allocations: 0 / 0.6279 GB, free: 6.52 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004459/0.08529, allocations: 463.9 kB / 0.6283 GB, free: 6.039 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001648/0.08694, allocations: 1.241 MB / 0.6296 GB, free: 4.734 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.08695, allocations: 4.156 kB / 0.6296 GB, free: 4.73 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000243/0.08719, allocations: 79.83 kB / 0.6296 GB, free: 4.652 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/0.0872, allocations: 4 kB / 0.6296 GB, free: 4.648 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.437e-05/0.08723, allocations: 8 kB / 0.6297 GB, free: 4.641 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.952e-06/0.08723, allocations: 4 kB / 0.6297 GB, free: 4.637 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.08724, allocations: 0 / 0.6297 GB, free: 4.637 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009966/0.08823, allocations: 0.7877 MB / 0.6304 GB, free: 3.82 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002791/0.08851, allocations: 159.1 kB / 0.6306 GB, free: 3.664 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.34e-05/0.08859, allocations: 12 kB / 0.6306 GB, free: 3.652 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002681/0.08885, allocations: 31.95 kB / 0.6306 GB, free: 3.621 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.247e-05/0.08893, allocations: 23.95 kB / 0.6306 GB, free: 3.598 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.23e-05/0.08896, allocations: 23.98 kB / 0.6307 GB, free: 3.574 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0007043/0.08966, allocations: 0.663 MB / 0.6313 GB, free: 2.902 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.71e-07/0.08966, allocations: 0 / 0.6313 GB, free: 2.902 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0009176/0.09058, allocations: 343.3 kB / 0.6316 GB, free: 2.566 MB / 0.5886 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.001641/0.09222, allocations: 1.581 MB / 0.6332 GB, free: 0.9453 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0006422/0.09286, allocations: 411.8 kB / 0.6336 GB, free: 0.543 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.09287, allocations: 0 / 0.6336 GB, free: 0.543 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002196/0.09309, allocations: 177.1 kB / 0.6337 GB, free: 380 kB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/0.0947, allocations: 0.5977 MB / 0.6343 GB, free: 15.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007715/0.1024, allocations: 6.832 MB / 0.641 GB, free: 8.676 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.1027, allocations: 453.3 kB / 0.6414 GB, free: 8.199 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0006678/0.1034, allocations: 195.9 kB / 0.6416 GB, free: 8.012 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003443/0.1038, allocations: 376.4 kB / 0.642 GB, free: 7.645 MB / 0.6042 GB Notification: Performance of SimCode: time 1.473e-06/0.1038, allocations: 0 / 0.642 GB, free: 7.645 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05252/0.1563, allocations: 32.47 MB / 0.6737 GB, free: 7.852 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.103/8.26, allocations: 10.64 kB / 0.6737 GB, free: 7.848 MB / 0.6355 GB " [Timeout remaining time 652] (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: 11.09746878221631] Failed to read output from testmodel.py, exit status != 0: 8.355292066931725 8.614786546 8.543510148 Calling exit ...