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.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.001318/0.001318, allocations: 117.2 kB / 17.13 MB, free: 5.918 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.001373/0.001373, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.477/1.477, allocations: 225.6 MB / 248.5 MB, free: 3.609 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.8369/0.8369, allocations: 129.2 MB / 432.5 MB, free: 13.24 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.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 0.002265/0.002265, allocations: 71.88 kB / 0.5987 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4833/0.4856, allocations: 83.43 MB / 0.6802 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.08838/0.574, allocations: 77.84 MB / 0.7562 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03127/0.6052, allocations: 18.91 MB / 0.7747 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004306/0.6095, allocations: 111.3 kB / 0.7748 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004292/0.6138, allocations: 1.301 MB / 0.776 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01179/0.6256, allocations: 3.81 MB / 0.7798 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006292/0.6319, allocations: 2.112 MB / 0.7818 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01161/0.6435, allocations: 6.696 MB / 0.7884 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00372/0.6472, allocations: 1.7 MB / 0.79 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007922/0.6552, allocations: 2.677 MB / 0.7926 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004015/0.6592, allocations: 1.824 MB / 0.7944 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000797/0.66, allocations: 204 kB / 0.7946 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005577/0.6655, allocations: 1.661 MB / 0.7962 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001252/0.6668, allocations: 0.5679 MB / 0.7968 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003028/0.6698, allocations: 1.248 MB / 0.798 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.009066/0.6789, allocations: 3.759 MB / 0.8017 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.525e-06/0.6789, allocations: 0 / 0.8017 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.124e-06/0.6789, allocations: 0 / 0.8017 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.2e-05/0.679, allocations: 0 / 0.8017 GB, free: 1.156 MB / 0.6075 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.007289/0.6863, allocations: 2.795 MB / 0.8044 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.988e-05/0.6863, allocations: 8.031 kB / 0.8044 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003442/0.6867, allocations: 202.8 kB / 0.8046 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.6878, allocations: 285.8 kB / 0.8049 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004846/0.6926, allocations: 2.032 MB / 0.8069 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/0.6927, allocations: 110.7 kB / 0.807 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002794/0.693, allocations: 140 kB / 0.8071 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002963/0.6959, allocations: 1.528 MB / 0.8086 GB, free: 9.863 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.169e-05/0.696, allocations: 7.953 kB / 0.8086 GB, free: 9.855 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001306/0.6961, allocations: 59.98 kB / 0.8087 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.476e-05/0.6962, allocations: 36 kB / 0.8087 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002392/0.6986, allocations: 1.13 MB / 0.8098 GB, free: 8.625 MB / 0.6231 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.01106/0.7096, allocations: 7.929 MB / 0.8175 GB, free: 40 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.7107, allocations: 450.4 kB / 0.818 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006316/0.7113, allocations: 302.3 kB / 0.8183 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001098/0.7124, allocations: 1.16 MB / 0.8194 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.585e-05/0.7125, allocations: 47 kB / 0.8194 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=59): time 2.334e-06/0.7125, allocations: 0 / 0.8194 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of matching and sorting (n=59): time 0.002539/0.715, allocations: 0.974 MB / 0.8204 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/0.715, allocations: 55.97 kB / 0.8204 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002769/0.7178, allocations: 1.791 MB / 0.8222 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001504/0.718, allocations: 37.7 kB / 0.8222 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009458/0.7189, allocations: 0.9451 MB / 0.8232 GB, free: 9.953 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002893/0.7192, allocations: 238 kB / 0.8234 GB, free: 9.719 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003548/0.7196, allocations: 222.8 kB / 0.8236 GB, free: 9.496 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000183/0.7197, allocations: 349.9 kB / 0.8239 GB, free: 9.148 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007305/0.7205, allocations: 330.4 kB / 0.8242 GB, free: 8.824 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001091/0.7216, allocations: 0.686 MB / 0.8249 GB, free: 7.988 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001811/0.7234, allocations: 1.012 MB / 0.8259 GB, free: 6.84 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-05/0.7234, allocations: 4 kB / 0.8259 GB, free: 6.836 MB / 0.6387 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002684/0.7261, allocations: 1.23 MB / 0.8271 GB, free: 5.598 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.7261, allocations: 11.94 kB / 0.8271 GB, free: 5.586 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.038e-05/0.7261, allocations: 12 kB / 0.8271 GB, free: 5.574 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.619e-05/0.7262, allocations: 19.94 kB / 0.8271 GB, free: 5.555 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.7272, allocations: 288.1 kB / 0.8274 GB, free: 5.273 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.914e-05/0.7272, allocations: 19.94 kB / 0.8274 GB, free: 5.254 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/0.7285, allocations: 170.9 kB / 0.8276 GB, free: 5.086 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.7286, allocations: 51.98 kB / 0.8277 GB, free: 5.035 MB / 0.6387 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.0009174/0.7296, allocations: 441.5 kB / 0.8281 GB, free: 4.594 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004832/0.73, allocations: 198.7 kB / 0.8283 GB, free: 4.398 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001931/0.732, allocations: 0.8727 MB / 0.8291 GB, free: 3.516 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.668e-05/0.732, allocations: 7.938 kB / 0.8291 GB, free: 3.508 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.732, allocations: 0 / 0.8291 GB, free: 3.508 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001381/0.7334, allocations: 0.7957 MB / 0.8299 GB, free: 2.668 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004867/0.7382, allocations: 2.447 MB / 0.8323 GB, free: 128 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.7383, allocations: 4 kB / 0.8323 GB, free: 124 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008255/0.7391, allocations: 176.1 kB / 0.8325 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.104e-05/0.7391, allocations: 4 kB / 0.8325 GB, free: 15.94 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.771e-05/0.7391, allocations: 23.88 kB / 0.8325 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.5e-05/0.7392, allocations: 11.92 kB / 0.8325 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.7392, allocations: 4 kB / 0.8325 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002775/0.7419, allocations: 1.345 MB / 0.8338 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009494/0.7429, allocations: 375.5 kB / 0.8342 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003007/0.7432, allocations: 19.98 kB / 0.8342 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009485/0.7441, allocations: 59.88 kB / 0.8342 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.7443, allocations: 56.44 kB / 0.8343 GB, free: 14 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-05/0.7443, allocations: 39.97 kB / 0.8343 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00192/0.7463, allocations: 1.235 MB / 0.8355 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.7463, allocations: 0 / 0.8355 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002025/0.7483, allocations: 0.6626 MB / 0.8362 GB, free: 12.05 MB / 0.6544 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.004231/0.7525, allocations: 2.394 MB / 0.8385 GB, free: 9.605 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001851/0.7544, allocations: 0.7812 MB / 0.8393 GB, free: 8.832 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.7544, allocations: 4 kB / 0.8393 GB, free: 8.828 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007577/0.7551, allocations: 338.9 kB / 0.8396 GB, free: 8.492 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005586/0.7607, allocations: 1.209 MB / 0.8408 GB, free: 7.309 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02206/0.7828, allocations: 12.62 MB / 0.8531 GB, free: 10.17 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001193/0.784, allocations: 1.405 MB / 0.8545 GB, free: 8.73 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001521/0.7855, allocations: 386.2 kB / 0.8549 GB, free: 8.355 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001147/0.7866, allocations: 0.7609 MB / 0.8556 GB, free: 7.594 MB / 0.67 GB Notification: Performance of SimCode: time 1.132e-06/0.7866, allocations: 0 / 0.8556 GB, free: 7.594 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4581/1.245, allocations: 57.81 MB / 0.9121 GB, free: 166.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/13.86, allocations: 7.203 kB / 0.9121 GB, free: 166.3 MB / 0.6856 GB " [Timeout remaining time 646] (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: 17.462511097081006] Failed to read output from testmodel.py, exit status != 0: 13.968490676023066 13.980438613 13.298736777 Calling exit ...