Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.0007507/0.0007507, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007987/0.0007987, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8616/0.8616, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001385/0.001385, allocations: 233.6 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.666/0.666, allocations: 138.4 MB / 454.3 MB, free: 29.99 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.6463 GB, free: 1.906 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.692e-05/1.858e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.902 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.3518/0.3518, allocations: 185.6 MB / 0.8275 GB, free: 1.43 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01025/0.3621, allocations: 9.268 MB / 0.8366 GB, free: 8.141 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001688/0.3638, allocations: 79.31 kB / 0.8367 GB, free: 8.062 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001478/0.3652, allocations: 0.7613 MB / 0.8374 GB, free: 7.297 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.004654/0.3699, allocations: 2.981 MB / 0.8403 GB, free: 4.301 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.002257/0.3721, allocations: 1.468 MB / 0.8418 GB, free: 2.84 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.003357/0.3755, allocations: 4.186 MB / 0.8458 GB, free: 14.65 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001102/0.3766, allocations: 0.9856 MB / 0.8468 GB, free: 13.63 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001912/0.3785, allocations: 1.897 MB / 0.8487 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001536/0.3801, allocations: 1.172 MB / 0.8498 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001519/0.3802, allocations: 147.8 kB / 0.8499 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002694/0.3829, allocations: 2.021 MB / 0.8519 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004418/0.3833, allocations: 0.6543 MB / 0.8526 GB, free: 7.746 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000525/0.3839, allocations: 0.612 MB / 0.8531 GB, free: 7.133 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003021/0.3869, allocations: 3.042 MB / 0.8561 GB, free: 4.082 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3869, allocations: 0 / 0.8561 GB, free: 4.082 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3869, allocations: 0 / 0.8561 GB, free: 4.082 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.818e-05/0.3869, allocations: 0 / 0.8561 GB, free: 4.082 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.00189/0.3888, allocations: 1.858 MB / 0.8579 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.3888, allocations: 9.938 kB / 0.8579 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001377/0.389, allocations: 164.8 kB / 0.8581 GB, free: 2.004 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001562/0.3905, allocations: 0.4908 MB / 0.8586 GB, free: 1.512 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001243/0.3918, allocations: 1.049 MB / 0.8596 GB, free: 432 kB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.081e-05/0.3918, allocations: 86.14 kB / 0.8597 GB, free: 344 kB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.3919, allocations: 115.9 kB / 0.8598 GB, free: 228 kB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.3933, allocations: 1.606 MB / 0.8614 GB, free: 14.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.3933, allocations: 4 kB / 0.8614 GB, free: 14.47 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-05/0.3934, allocations: 48 kB / 0.8614 GB, free: 14.43 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.753e-05/0.3934, allocations: 42.08 kB / 0.8615 GB, free: 14.38 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.3946, allocations: 1.074 MB / 0.8625 GB, free: 13.3 MB / 0.698 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.003395/0.398, allocations: 2.889 MB / 0.8653 GB, free: 10.35 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007681/0.3987, allocations: 0.7549 MB / 0.8661 GB, free: 9.594 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004089/0.3991, allocations: 459.1 kB / 0.8665 GB, free: 9.148 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001794/0.3993, allocations: 64.95 kB / 0.8666 GB, free: 9.082 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.3993, allocations: 55.48 kB / 0.8666 GB, free: 9.02 MB / 0.698 GB Notification: Performance of pre-optimization done (n=83): time 3.226e-06/0.3993, allocations: 0 / 0.8666 GB, free: 9.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=89): time 0.003585/0.4029, allocations: 2.644 MB / 0.8692 GB, free: 6.344 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.403, allocations: 60.41 kB / 0.8693 GB, free: 6.27 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008386/0.4038, allocations: 0.9793 MB / 0.8702 GB, free: 5.273 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.937e-05/0.4038, allocations: 45.7 kB / 0.8703 GB, free: 5.223 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002716/0.4041, allocations: 0.5481 MB / 0.8708 GB, free: 4.668 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001829/0.4043, allocations: 329.2 kB / 0.8711 GB, free: 4.344 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/0.4045, allocations: 154.6 kB / 0.8713 GB, free: 4.188 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.647e-05/0.4045, allocations: 341.9 kB / 0.8716 GB, free: 3.848 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003486/0.4049, allocations: 341.8 kB / 0.8719 GB, free: 3.516 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000468/0.4054, allocations: 0.5759 MB / 0.8725 GB, free: 2.875 MB / 0.698 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 (bou.p = vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start (bou.p = volMFactor.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00359/0.4089, allocations: 2.813 MB / 0.8752 GB, free: 36 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.409, allocations: 3.984 kB / 0.8752 GB, free: 32 kB / 0.698 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001042/0.41, allocations: 1.012 MB / 0.8762 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.41, allocations: 10.62 kB / 0.8762 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.41, allocations: 3.938 kB / 0.8762 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.41, allocations: 8 kB / 0.8762 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004/0.4104, allocations: 179.7 kB / 0.8764 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.4105, allocations: 12.36 kB / 0.8764 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000497/0.411, allocations: 44.2 kB / 0.8765 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.531e-05/0.411, allocations: 32 kB / 0.8765 GB, free: 14.73 MB / 0.7136 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (108): * Single equations (assignments): 108 * 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.0004386/0.4114, allocations: 378.2 kB / 0.8768 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.4116, allocations: 131.2 kB / 0.877 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001524/0.4117, allocations: 152.2 kB / 0.8771 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-06/0.4117, allocations: 11.94 kB / 0.8771 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.4117, allocations: 0 / 0.8771 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009623/0.4127, allocations: 1.09 MB / 0.8782 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003087/0.4158, allocations: 2.806 MB / 0.8809 GB, free: 9.926 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.4158, allocations: 8 kB / 0.8809 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003707/0.4162, allocations: 171.7 kB / 0.8811 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002016/0.4164, allocations: 97.64 kB / 0.8812 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.88e-05/0.4164, allocations: 28 kB / 0.8812 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001518/0.4179, allocations: 2.875 MB / 0.884 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/0.4179, allocations: 16.81 kB / 0.884 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00153/0.4195, allocations: 1.731 MB / 0.8857 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003694/0.4198, allocations: 235.1 kB / 0.886 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.952e-05/0.4199, allocations: 28 kB / 0.886 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004636/0.4204, allocations: 40.31 kB / 0.886 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.4205, allocations: 92.12 kB / 0.8861 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.739e-05/0.4205, allocations: 51.98 kB / 0.8862 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006742/0.4212, allocations: 0.6961 MB / 0.8868 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.31e-07/0.4212, allocations: 0 / 0.8868 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008143/0.422, allocations: 383.9 kB / 0.8872 GB, free: 3.125 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (vol.dynBal.medium.Xi[1],vol.dynBal.U,volMFactor.dynBal.medium.Xi[1],volMFactor.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.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 (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002042/0.4241, allocations: 2.39 MB / 0.8895 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0009667/0.425, allocations: 0.8093 MB / 0.8903 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.227e-06/0.425, allocations: 8.125 kB / 0.8903 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005717/0.4256, allocations: 0.6521 MB / 0.891 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002143/0.4278, allocations: 0.9191 MB / 0.8919 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00846/0.4362, allocations: 9.593 MB / 0.9012 GB, free: 4.203 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005827/0.4368, allocations: 0.6651 MB / 0.9019 GB, free: 3.5 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0008288/0.4376, allocations: 339 kB / 0.9022 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000422/0.438, allocations: 472.4 kB / 0.9027 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of SimCode: time 1.683e-06/0.438, allocations: 0 / 0.9027 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2507/0.6887, allocations: 42.4 MB / 0.9441 GB, free: 249.4 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.794/8.482, allocations: 5.484 kB / 0.9441 GB, free: 249.4 MB / 0.7605 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.01050428301096] Failed to read output from testmodel.py, exit status != 0: 8.584918565116823 8.595422843 8.206600067 Calling exit ...