Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.001268/0.001268, allocations: 100.3 kB / 19.69 MB, free: 1.805 MB / 14.72 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.001481/0.001481, allocations: 210.7 kB / 22.99 MB, free: 4.609 MB / 14.72 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 1.41/1.41, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.9169/0.9169, allocations: 149.9 MB / 463 MB, free: 10.33 MB / 366.1 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.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 63.78 kB / 0.6411 GB, free: 10.07 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1785, allocations: 89.19 MB / 0.7282 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.604/0.7825, allocations: 165.6 MB / 0.8899 GB, free: 15.48 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01636/0.7989, allocations: 12.02 MB / 0.9016 GB, free: 3.43 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001399/0.8003, allocations: 43.62 kB / 0.9017 GB, free: 3.387 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001403/0.8017, allocations: 433 kB / 0.9021 GB, free: 2.961 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003266/0.805, allocations: 1.194 MB / 0.9033 GB, free: 1.762 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002068/0.807, allocations: 0.7322 MB / 0.904 GB, free: 1.035 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002955/0.81, allocations: 2.028 MB / 0.906 GB, free: 15 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001008/0.811, allocations: 0.6216 MB / 0.9066 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005061/0.8161, allocations: 2.008 MB / 0.9085 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001939/0.818, allocations: 0.6698 MB / 0.9092 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001682/0.8182, allocations: 80 kB / 0.9093 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001825/0.82, allocations: 0.7209 MB / 0.91 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004801/0.8205, allocations: 402.8 kB / 0.9104 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005431/0.821, allocations: 414.1 kB / 0.9107 GB, free: 10.07 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002155/0.8232, allocations: 1.483 MB / 0.9122 GB, free: 8.586 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.8232, allocations: 0 / 0.9122 GB, free: 8.586 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8232, allocations: 11.94 kB / 0.9122 GB, free: 8.574 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.282e-05/0.8232, allocations: 0 / 0.9122 GB, free: 8.574 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001882/0.8251, allocations: 1.193 MB / 0.9134 GB, free: 7.344 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.8251, allocations: 12.03 kB / 0.9134 GB, free: 7.332 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000139/0.8253, allocations: 115 kB / 0.9135 GB, free: 7.211 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/0.8264, allocations: 223.2 kB / 0.9137 GB, free: 6.992 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.8276, allocations: 0.6077 MB / 0.9143 GB, free: 6.355 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.202e-05/0.8277, allocations: 58 kB / 0.9144 GB, free: 6.297 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.8278, allocations: 80.89 kB / 0.9144 GB, free: 6.219 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/0.8293, allocations: 1.066 MB / 0.9155 GB, free: 5.039 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/0.8293, allocations: 4 kB / 0.9155 GB, free: 5.035 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.826e-05/0.8294, allocations: 28 kB / 0.9155 GB, free: 5.008 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.512e-05/0.8294, allocations: 33.31 kB / 0.9155 GB, free: 4.977 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.8304, allocations: 0.6177 MB / 0.9161 GB, free: 4.359 MB / 0.6856 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.004236/0.8347, allocations: 3.718 MB / 0.9198 GB, free: 0.5 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008133/0.8355, allocations: 470.8 kB / 0.9202 GB, free: 16 kB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003581/0.8358, allocations: 231.6 kB / 0.9204 GB, free: 15.78 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001482/0.836, allocations: 23.98 kB / 0.9205 GB, free: 15.75 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.317e-05/0.836, allocations: 47.5 kB / 0.9205 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=43): time 2.775e-06/0.836, allocations: 3.938 kB / 0.9205 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of matching and sorting (n=45): time 0.002758/0.8388, allocations: 1.541 MB / 0.922 GB, free: 14.12 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.791e-05/0.8389, allocations: 110.8 kB / 0.9221 GB, free: 13.99 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008479/0.8397, allocations: 0.7193 MB / 0.9228 GB, free: 13.26 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 4.826e-05/0.8397, allocations: 37.7 kB / 0.9229 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003571/0.8401, allocations: 424.6 kB / 0.9233 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/0.8403, allocations: 170.5 kB / 0.9234 GB, free: 12.63 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001751/0.8404, allocations: 118.3 kB / 0.9235 GB, free: 12.51 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.8406, allocations: 330 kB / 0.9239 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002945/0.8409, allocations: 185.2 kB / 0.924 GB, free: 12 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005858/0.8415, allocations: 0.5656 MB / 0.9246 GB, free: 11.3 MB / 0.7012 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002316/0.8438, allocations: 1.11 MB / 0.9257 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.8438, allocations: 0 / 0.9257 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001062/0.8448, allocations: 0.6797 MB / 0.9263 GB, free: 9.418 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.8449, allocations: 8.781 kB / 0.9263 GB, free: 9.41 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.8449, allocations: 4 kB / 0.9263 GB, free: 9.406 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/0.8449, allocations: 18.69 kB / 0.9264 GB, free: 9.391 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004497/0.8454, allocations: 119.8 kB / 0.9265 GB, free: 9.273 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.962e-05/0.8454, allocations: 15.94 kB / 0.9265 GB, free: 9.258 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005239/0.8459, allocations: 23.98 kB / 0.9265 GB, free: 9.234 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.947e-05/0.8459, allocations: 28 kB / 0.9265 GB, free: 9.207 MB / 0.7012 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0003988/0.8463, allocations: 269.6 kB / 0.9268 GB, free: 8.934 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/0.8465, allocations: 91.38 kB / 0.9269 GB, free: 8.844 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001682/0.8467, allocations: 91.66 kB / 0.927 GB, free: 8.75 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.8467, allocations: 4 kB / 0.927 GB, free: 8.746 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.8467, allocations: 4 kB / 0.927 GB, free: 8.742 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007837/0.8475, allocations: 0.7041 MB / 0.9277 GB, free: 7.953 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002437/0.8499, allocations: 1.513 MB / 0.9291 GB, free: 6.34 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/0.8499, allocations: 7.984 kB / 0.9292 GB, free: 6.332 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004439/0.8504, allocations: 95.89 kB / 0.9292 GB, free: 6.238 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.938e-06/0.8504, allocations: 8 kB / 0.9293 GB, free: 6.23 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.484e-05/0.8504, allocations: 16 kB / 0.9293 GB, free: 6.215 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.905e-06/0.8504, allocations: 7.938 kB / 0.9293 GB, free: 6.207 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.8504, allocations: 7.938 kB / 0.9293 GB, free: 6.199 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.8516, allocations: 0.8808 MB / 0.9301 GB, free: 5.25 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003396/0.8519, allocations: 135.4 kB / 0.9303 GB, free: 5.117 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.515e-05/0.852, allocations: 8.625 kB / 0.9303 GB, free: 5.109 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004291/0.8525, allocations: 27.92 kB / 0.9303 GB, free: 5.082 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.252e-05/0.8525, allocations: 31.89 kB / 0.9303 GB, free: 5.051 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.792e-05/0.8526, allocations: 23.98 kB / 0.9304 GB, free: 5.027 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0006762/0.8532, allocations: 0.5107 MB / 0.9309 GB, free: 4.523 MB / 0.7012 GB Notification: Performance of sort global known variables: time 7e-08/0.8532, allocations: 0 / 0.9309 GB, free: 4.523 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0007597/0.854, allocations: 203.9 kB / 0.9311 GB, free: 4.324 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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 Backend phase and start with SimCode phase: time 0.001851/0.8559, allocations: 1.519 MB / 0.9325 GB, free: 2.75 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0008378/0.8567, allocations: 457.2 kB / 0.933 GB, free: 2.305 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.8567, allocations: 0 / 0.933 GB, free: 2.305 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0003023/0.857, allocations: 208.7 kB / 0.9332 GB, free: 2.102 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002001/0.859, allocations: 469.7 kB / 0.9336 GB, free: 1.664 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008934/0.8679, allocations: 6.634 MB / 0.9401 GB, free: 10.63 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004728/0.8684, allocations: 436.8 kB / 0.9405 GB, free: 10.18 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0006895/0.8691, allocations: 199 kB / 0.9407 GB, free: 9.98 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004195/0.8695, allocations: 303.3 kB / 0.941 GB, free: 9.684 MB / 0.7169 GB Notification: Performance of SimCode: time 1.152e-06/0.8695, allocations: 0 / 0.941 GB, free: 9.684 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06162/0.9311, allocations: 24.59 MB / 0.965 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/12.21, allocations: 10.89 kB / 0.965 GB, free: 1.656 MB / 0.7325 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.873129450250417] Failed to read output from testmodel.py, exit status != 0: 12.332105708308518 12.359037721 11.530995795 Calling exit ...