Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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.0009888/0.0009888, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.001976/0.001976, allocations: 173.9 kB / 23.21 MB, free: 1.348 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.9034/0.9034, 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.5685/0.5685, allocations: 114 MB / 373.9 MB, free: 8.707 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.EightPortHeatMassExchanger,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 0 / 0.5542 GB, free: 2.777 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.031e-05/3.295e-05, allocations: 7.812 kB / 0.5542 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.05184/0.05188, allocations: 70.51 MB / 0.6231 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.01994/0.07181, allocations: 17.56 MB / 0.6402 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003685/0.0755, allocations: 150.8 kB / 0.6403 GB, free: 10.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002575/0.07807, allocations: 1.249 MB / 0.6416 GB, free: 9 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.008026/0.0861, allocations: 3.978 MB / 0.6454 GB, free: 5.004 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00388/0.08998, allocations: 2.222 MB / 0.6476 GB, free: 2.801 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.007082/0.09706, allocations: 6.797 MB / 0.6543 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002439/0.0995, allocations: 1.518 MB / 0.6557 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00591/0.1054, allocations: 3.545 MB / 0.6592 GB, free: 6.879 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001993/0.1074, allocations: 1.556 MB / 0.6607 GB, free: 5.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0003187/0.1077, allocations: 204 kB / 0.6609 GB, free: 5.121 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002369/0.1101, allocations: 1.364 MB / 0.6622 GB, free: 3.754 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003703/0.1105, allocations: 0.5757 MB / 0.6628 GB, free: 3.176 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0009975/0.1115, allocations: 0.8456 MB / 0.6636 GB, free: 2.328 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.003607/0.1151, allocations: 3.805 MB / 0.6673 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1151, allocations: 0 / 0.6673 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.843e-06/0.1151, allocations: 0 / 0.6673 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.405e-05/0.1151, allocations: 3.938 kB / 0.6674 GB, free: 14.51 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.003483/0.1186, allocations: 2.687 MB / 0.67 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/0.1187, allocations: 8.625 kB / 0.67 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001732/0.1188, allocations: 206.8 kB / 0.6702 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005385/0.1194, allocations: 286.3 kB / 0.6705 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002386/0.1218, allocations: 1.96 MB / 0.6724 GB, free: 9.273 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.459e-05/0.1218, allocations: 114.7 kB / 0.6725 GB, free: 9.16 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/0.122, allocations: 144 kB / 0.6726 GB, free: 9.02 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002177/0.1242, allocations: 1.821 MB / 0.6744 GB, free: 7.047 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.769e-05/0.1242, allocations: 4 kB / 0.6744 GB, free: 7.043 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.308e-05/0.1243, allocations: 60 kB / 0.6745 GB, free: 6.984 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.744e-05/0.1243, allocations: 40 kB / 0.6745 GB, free: 6.945 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001442/0.1257, allocations: 1.126 MB / 0.6756 GB, free: 5.812 MB / 0.6355 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.005458/0.1312, allocations: 5.328 MB / 0.6808 GB, free: 332 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2749/0.4061, allocations: 437.6 kB / 0.6812 GB, free: 162 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004598/0.4066, allocations: 309 kB / 0.6815 GB, free: 162 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002721/0.4068, allocations: 113.5 kB / 0.6816 GB, free: 162 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.4069, allocations: 37.88 kB / 0.6817 GB, free: 162 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=59): time 2.204e-06/0.4069, allocations: 0 / 0.6817 GB, free: 162 MB / 0.6355 GB Notification: Performance of matching and sorting (n=59): time 0.001535/0.4084, allocations: 0.9725 MB / 0.6826 GB, free: 162 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.4084, allocations: 58.53 kB / 0.6827 GB, free: 161.9 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001445/0.4099, allocations: 1.819 MB / 0.6844 GB, free: 161.2 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.483e-05/0.4099, allocations: 44.05 kB / 0.6845 GB, free: 161.2 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004047/0.4103, allocations: 0.9476 MB / 0.6854 GB, free: 160.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.4104, allocations: 229.2 kB / 0.6856 GB, free: 160.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/0.4106, allocations: 228.3 kB / 0.6858 GB, free: 160.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.527e-05/0.4106, allocations: 347 kB / 0.6862 GB, free: 160 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003647/0.411, allocations: 335.5 kB / 0.6865 GB, free: 159.9 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005013/0.4115, allocations: 0.9674 MB / 0.6874 GB, free: 159 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008196/0.4123, allocations: 1.014 MB / 0.6884 GB, free: 158.4 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.4123, allocations: 3.406 kB / 0.6884 GB, free: 158.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001173/0.4135, allocations: 1.229 MB / 0.6896 GB, free: 157.9 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.4135, allocations: 8.875 kB / 0.6896 GB, free: 157.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.4135, allocations: 10.62 kB / 0.6896 GB, free: 157.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/0.4136, allocations: 15.62 kB / 0.6897 GB, free: 157.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005236/0.4141, allocations: 289 kB / 0.6899 GB, free: 157.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/0.4141, allocations: 25.91 kB / 0.69 GB, free: 157.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006782/0.4148, allocations: 166 kB / 0.6901 GB, free: 157.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.383e-05/0.4148, allocations: 55.28 kB / 0.6902 GB, free: 157.8 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (135): * Single equations (assignments): 135 * 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.0004038/0.4152, allocations: 447.5 kB / 0.6906 GB, free: 157.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/0.4154, allocations: 202 kB / 0.6908 GB, free: 157.4 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009912/0.4164, allocations: 0.8785 MB / 0.6917 GB, free: 157.1 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/0.4164, allocations: 5.719 kB / 0.6917 GB, free: 157.1 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.4164, allocations: 0 / 0.6917 GB, free: 157.1 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006986/0.4171, allocations: 0.8064 MB / 0.6924 GB, free: 156.7 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00219/0.4193, allocations: 2.229 MB / 0.6946 GB, free: 155.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.4193, allocations: 9.594 kB / 0.6946 GB, free: 155.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003724/0.4197, allocations: 183.7 kB / 0.6948 GB, free: 155.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.4197, allocations: 2.812 kB / 0.6948 GB, free: 155.6 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.548e-05/0.4197, allocations: 24.09 kB / 0.6948 GB, free: 155.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.4197, allocations: 5.281 kB / 0.6948 GB, free: 155.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4197, allocations: 2.781 kB / 0.6948 GB, free: 155.6 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/0.421, allocations: 1.361 MB / 0.6962 GB, free: 154.9 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003593/0.4213, allocations: 298 kB / 0.6965 GB, free: 154.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.4214, allocations: 21.62 kB / 0.6965 GB, free: 154.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004708/0.4219, allocations: 63.05 kB / 0.6965 GB, free: 154.8 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.731e-05/0.422, allocations: 56.02 kB / 0.6966 GB, free: 154.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.821e-05/0.422, allocations: 37.14 kB / 0.6966 GB, free: 154.7 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000936/0.423, allocations: 1.25 MB / 0.6978 GB, free: 154.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.423, allocations: 0 / 0.6978 GB, free: 154.2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001199/0.4242, allocations: 0.6723 MB / 0.6985 GB, free: 154.1 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.002063/0.4262, allocations: 2.394 MB / 0.7008 GB, free: 153 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0008646/0.4271, allocations: 0.7855 MB / 0.7016 GB, free: 152.7 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4271, allocations: 2.156 kB / 0.7016 GB, free: 152.7 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003777/0.4275, allocations: 346.6 kB / 0.7019 GB, free: 152.6 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002609/0.4301, allocations: 1.168 MB / 0.7031 GB, free: 152.4 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0144/0.4445, allocations: 12.64 MB / 0.7154 GB, free: 146.3 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007602/0.4452, allocations: 0.8348 MB / 0.7162 GB, free: 146.1 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001274/0.4465, allocations: 373.3 kB / 0.7166 GB, free: 146 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006787/0.4472, allocations: 0.7746 MB / 0.7173 GB, free: 145.4 MB / 0.6355 GB Notification: Performance of SimCode: time 1.623e-06/0.4472, allocations: 0 / 0.7173 GB, free: 145.4 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06587/0.5131, allocations: 62.67 MB / 0.7785 GB, free: 100.1 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.197/9.71, allocations: 3.938 kB / 0.7786 GB, free: 100.1 MB / 0.6355 GB " [Timeout remaining time 650] (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.357347440905869] Failed to read output from testmodel.py, exit status != 0: 9.818343672901392 9.825630147 9.708734517 Calling exit ...