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.001285/0.001285, allocations: 118.8 kB / 17.84 MB, free: 5.234 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.001389/0.001389, allocations: 202.3 kB / 20.79 MB, free: 2.297 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.437/1.437, allocations: 230.6 MB / 254.2 MB, free: 15.09 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.9695/0.9695, allocations: 150 MB / 460.2 MB, free: 5.23 MB / 350.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="cs",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.001879/0.001879, allocations: 62.78 kB / 0.6368 GB, free: 30.66 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.16, allocations: 89.14 MB / 0.7239 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.6398/0.7997, allocations: 190.9 MB / 0.9103 GB, free: 2.535 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01285/0.8126, allocations: 13.15 MB / 0.9231 GB, free: 2.246 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001517/0.8141, allocations: 41.31 kB / 0.9232 GB, free: 2.246 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001249/0.8153, allocations: 441.8 kB / 0.9236 GB, free: 2.242 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002859/0.8182, allocations: 1.192 MB / 0.9248 GB, free: 2.188 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001601/0.8198, allocations: 0.7179 MB / 0.9255 GB, free: 2.168 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00218/0.822, allocations: 2 MB / 0.9274 GB, free: 2.168 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008252/0.8228, allocations: 0.6995 MB / 0.9281 GB, free: 2.086 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003781/0.8266, allocations: 2.024 MB / 0.9301 GB, free: 1.996 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001426/0.828, allocations: 0.6936 MB / 0.9307 GB, free: 1.895 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001105/0.8281, allocations: 80.19 kB / 0.9308 GB, free: 1.895 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001597/0.8297, allocations: 0.912 MB / 0.9317 GB, free: 1.887 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003109/0.83, allocations: 397 kB / 0.9321 GB, free: 1.836 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004328/0.8305, allocations: 0.503 MB / 0.9326 GB, free: 1.695 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001746/0.8322, allocations: 1.495 MB / 0.934 GB, free: 1.484 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.8322, allocations: 4 kB / 0.934 GB, free: 1.48 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8322, allocations: 0 / 0.934 GB, free: 1.48 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.183e-05/0.8322, allocations: 0 / 0.934 GB, free: 1.48 MB / 0.67 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.001745/0.834, allocations: 1.27 MB / 0.9353 GB, free: 16.74 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.834, allocations: 11.97 kB / 0.9353 GB, free: 16.74 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.86e-05/0.834, allocations: 24.66 kB / 0.9353 GB, free: 16.74 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001304/0.8342, allocations: 119.1 kB / 0.9354 GB, free: 16.7 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001108/0.8353, allocations: 213.9 kB / 0.9356 GB, free: 16.64 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000971/0.8362, allocations: 0.688 MB / 0.9363 GB, free: 16.33 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.54e-05/0.8363, allocations: 57.06 kB / 0.9364 GB, free: 16.33 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.8364, allocations: 79.19 kB / 0.9364 GB, free: 16.33 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.8376, allocations: 0.9365 MB / 0.9374 GB, free: 16.06 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.448e-05/0.8376, allocations: 5.719 kB / 0.9374 GB, free: 16.06 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.841e-05/0.8377, allocations: 33.31 kB / 0.9374 GB, free: 16.06 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.478e-05/0.8377, allocations: 39.84 kB / 0.9374 GB, free: 16.05 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008596/0.8386, allocations: 0.6144 MB / 0.938 GB, free: 16.04 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.004178/0.8427, allocations: 4.653 MB / 0.9426 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007177/0.8434, allocations: 0.5389 MB / 0.9431 GB, free: 12.53 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000316/0.8438, allocations: 234 kB / 0.9433 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001828/0.8439, allocations: 103.1 kB / 0.9434 GB, free: 12.33 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/0.844, allocations: 43.62 kB / 0.9435 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=43): time 2.255e-06/0.844, allocations: 0 / 0.9435 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of matching and sorting (n=45): time 0.002693/0.8467, allocations: 1.61 MB / 0.945 GB, free: 11.33 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.844e-05/0.8468, allocations: 110.8 kB / 0.9451 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000776/0.8475, allocations: 0.7125 MB / 0.9458 GB, free: 10.9 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.787e-05/0.8476, allocations: 36.17 kB / 0.9459 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003155/0.8479, allocations: 423.8 kB / 0.9463 GB, free: 10.53 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000148/0.848, allocations: 175.2 kB / 0.9464 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/0.8482, allocations: 117.8 kB / 0.9466 GB, free: 10.33 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.8483, allocations: 328.5 kB / 0.9469 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002703/0.8486, allocations: 190.8 kB / 0.9471 GB, free: 9.953 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004888/0.8491, allocations: 421.5 kB / 0.9475 GB, free: 9.617 MB / 0.6856 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.002144/0.8513, allocations: 1.178 MB / 0.9486 GB, free: 8.965 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.8513, allocations: 1.812 kB / 0.9486 GB, free: 8.965 MB / 0.6856 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009415/0.8522, allocations: 0.6801 MB / 0.9493 GB, free: 8.707 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.8522, allocations: 8.281 kB / 0.9493 GB, free: 8.707 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.8522, allocations: 7.688 kB / 0.9493 GB, free: 8.707 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.8522, allocations: 12.66 kB / 0.9493 GB, free: 8.707 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004201/0.8527, allocations: 125.2 kB / 0.9494 GB, free: 8.703 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/0.8527, allocations: 13.81 kB / 0.9494 GB, free: 8.703 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005394/0.8532, allocations: 37.22 kB / 0.9495 GB, free: 8.684 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.783e-05/0.8533, allocations: 25.22 kB / 0.9495 GB, free: 8.68 MB / 0.6856 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.000373/0.8536, allocations: 276.5 kB / 0.9498 GB, free: 8.496 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.8538, allocations: 84.36 kB / 0.9498 GB, free: 8.453 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001747/0.854, allocations: 92.66 kB / 0.9499 GB, free: 8.395 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.854, allocations: 7.188 kB / 0.9499 GB, free: 8.395 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.854, allocations: 0 / 0.9499 GB, free: 8.395 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007095/0.8547, allocations: 0.6934 MB / 0.9506 GB, free: 7.84 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002287/0.857, allocations: 1.653 MB / 0.9522 GB, free: 6.863 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.857, allocations: 2.781 kB / 0.9522 GB, free: 6.863 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004245/0.8574, allocations: 100.7 kB / 0.9523 GB, free: 6.848 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/0.8574, allocations: 10.09 kB / 0.9523 GB, free: 6.844 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.326e-05/0.8574, allocations: 14.91 kB / 0.9523 GB, free: 6.836 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.912e-06/0.8574, allocations: 8.969 kB / 0.9524 GB, free: 6.836 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.8575, allocations: 14.8 kB / 0.9524 GB, free: 6.828 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.8585, allocations: 0.8682 MB / 0.9532 GB, free: 6.227 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002747/0.8588, allocations: 211.1 kB / 0.9534 GB, free: 6.043 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.108e-05/0.8589, allocations: 17.05 kB / 0.9534 GB, free: 6.035 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004257/0.8593, allocations: 16.33 kB / 0.9534 GB, free: 6.027 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.231e-05/0.8594, allocations: 46.05 kB / 0.9535 GB, free: 6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.987e-05/0.8594, allocations: 20.59 kB / 0.9535 GB, free: 5.996 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005805/0.86, allocations: 0.5119 MB / 0.954 GB, free: 5.703 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/0.86, allocations: 0 / 0.954 GB, free: 5.703 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0006893/0.8607, allocations: 202 kB / 0.9542 GB, free: 5.684 MB / 0.6856 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.00163/0.8623, allocations: 1.488 MB / 0.9557 GB, free: 4.527 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0007166/0.863, allocations: 465 kB / 0.9561 GB, free: 4.348 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.863, allocations: 0 / 0.9561 GB, free: 4.348 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002655/0.8633, allocations: 206.9 kB / 0.9563 GB, free: 4.27 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001961/0.8652, allocations: 479.4 kB / 0.9568 GB, free: 4.039 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008141/0.8734, allocations: 6.646 MB / 0.9632 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006372/0.874, allocations: 1.026 MB / 0.9642 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0006126/0.8746, allocations: 201.1 kB / 0.9644 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003886/0.875, allocations: 294.2 kB / 0.9647 GB, free: 14.4 MB / 0.7012 GB Notification: Performance of SimCode: time 7.01e-07/0.875, allocations: 7.938 kB / 0.9647 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0461/0.9211, allocations: 22.33 MB / 0.9865 GB, free: 10.05 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.48/10.4, allocations: 8 kB / 0.9865 GB, free: 10.04 MB / 0.7169 GB " [Timeout remaining time 649] (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: 14.23108759499155] Failed to read output from testmodel.py, exit status != 0: 10.537349898950197 10.552485103 9.717257029 Calling exit ...