Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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.001241/0.001241, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001417/0.001417, allocations: 215.7 kB / 22.26 MB, free: 5.125 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.359/1.359, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] 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.002995/0.002995, allocations: 282.2 kB / 312.7 MB, free: 2.805 MB / 238.1 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 1.165/1.165, allocations: 180.6 MB / 0.5369 GB, free: 13.06 MB / 382.1 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.MixingVolumeMoistureReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002691/0.002691, allocations: 102.8 kB / 0.7396 GB, free: 28.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1596, allocations: 95.37 MB / 0.8327 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.6327/0.7923, allocations: 225.5 MB / 1.053 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008441/0.8007, allocations: 5.768 MB / 1.059 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001292/0.802, allocations: 52.53 kB / 1.059 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001374/0.8034, allocations: 0.6105 MB / 1.059 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004208/0.8076, allocations: 1.945 MB / 1.061 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002782/0.8104, allocations: 1.242 MB / 1.062 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003335/0.8137, allocations: 3.03 MB / 1.065 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009756/0.8147, allocations: 0.7814 MB / 1.066 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001563/0.8162, allocations: 1.126 MB / 1.067 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00197/0.8182, allocations: 1.025 MB / 1.068 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001657/0.8184, allocations: 108.2 kB / 1.068 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002761/0.8211, allocations: 1.549 MB / 1.07 GB, free: 436 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000413/0.8215, allocations: 474.4 kB / 1.07 GB, free: 240 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000713/0.8223, allocations: 0.6585 MB / 1.071 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002979/0.8252, allocations: 2.137 MB / 1.073 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.8252, allocations: 3.312 kB / 1.073 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8252, allocations: 0 / 1.073 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.827e-05/0.8253, allocations: 0.8125 kB / 1.073 GB, free: 15.25 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.002363/0.8276, allocations: 1.464 MB / 1.074 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.8277, allocations: 9.094 kB / 1.074 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001751/0.8278, allocations: 142.7 kB / 1.075 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001828/0.8297, allocations: 325.8 kB / 1.075 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/0.8311, allocations: 0.7878 MB / 1.076 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.079e-05/0.8311, allocations: 61.72 kB / 1.076 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.8312, allocations: 87.83 kB / 1.076 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.8327, allocations: 0.9148 MB / 1.077 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/0.8327, allocations: 4.156 kB / 1.077 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-05/0.8328, allocations: 34.88 kB / 1.077 GB, free: 13 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.179e-05/0.8328, allocations: 37.72 kB / 1.077 GB, free: 13 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/0.8341, allocations: 0.8328 MB / 1.078 GB, free: 12.59 MB / 0.7325 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.005107/0.8392, allocations: 3.471 MB / 1.081 GB, free: 9.969 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007222/0.84, allocations: 477.9 kB / 1.081 GB, free: 9.715 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003975/0.8404, allocations: 280.1 kB / 1.082 GB, free: 9.578 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001451/0.8405, allocations: 27.69 kB / 1.082 GB, free: 9.57 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.8405, allocations: 40.41 kB / 1.082 GB, free: 9.527 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=47): time 2.174e-06/0.8405, allocations: 0.9062 kB / 1.082 GB, free: 9.527 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49): time 0.003255/0.8438, allocations: 1.663 MB / 1.083 GB, free: 8.562 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.8438, allocations: 56.88 kB / 1.083 GB, free: 8.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000894/0.8447, allocations: 0.8102 MB / 1.084 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.809e-05/0.8448, allocations: 38.42 kB / 1.084 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003714/0.8452, allocations: 487.6 kB / 1.085 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/0.8453, allocations: 190.1 kB / 1.085 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001815/0.8455, allocations: 117.8 kB / 1.085 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.8456, allocations: 328.3 kB / 1.085 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003917/0.846, allocations: 244.3 kB / 1.086 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004999/0.8465, allocations: 384.8 kB / 1.086 GB, free: 6.637 MB / 0.7325 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0034/0.8499, allocations: 1.457 MB / 1.087 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.8499, allocations: 5.562 kB / 1.087 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001268/0.8512, allocations: 0.7988 MB / 1.088 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.8512, allocations: 5.094 kB / 1.088 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.8512, allocations: 5.094 kB / 1.088 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001573/0.8514, allocations: 67.17 kB / 1.088 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006278/0.852, allocations: 149.4 kB / 1.088 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002502/0.8545, allocations: 2.919 MB / 1.091 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008149/0.8553, allocations: 39.84 kB / 1.091 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.577e-05/0.8554, allocations: 26 kB / 1.091 GB, free: 2.547 MB / 0.7325 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (71): * Single equations (assignments): 69 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004955/0.8559, allocations: 300.6 kB / 1.091 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.856, allocations: 97.12 kB / 1.092 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001768/0.8562, allocations: 99.03 kB / 1.092 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.8562, allocations: 10.45 kB / 1.092 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.8562, allocations: 0 / 1.092 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009924/0.8572, allocations: 0.8411 MB / 1.093 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002854/0.86, allocations: 1.767 MB / 1.094 GB, free: 332 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/0.8601, allocations: 7.375 kB / 1.094 GB, free: 328 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005677/0.8606, allocations: 132.1 kB / 1.094 GB, free: 300 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.418e-05/0.8607, allocations: 32.53 kB / 1.094 GB, free: 284 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-05/0.8608, allocations: 16.09 kB / 1.094 GB, free: 276 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00133/0.8621, allocations: 1.491 MB / 1.096 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.8621, allocations: 8.844 kB / 1.096 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001685/0.8638, allocations: 1.073 MB / 1.097 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005157/0.8643, allocations: 167.3 kB / 1.097 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001668/0.8645, allocations: 9.125 kB / 1.097 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007052/0.8652, allocations: 38.47 kB / 1.097 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.8653, allocations: 47.06 kB / 1.097 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.799e-05/0.8653, allocations: 27.98 kB / 1.097 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008316/0.8662, allocations: 0.5615 MB / 1.098 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8662, allocations: 0 / 1.098 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009808/0.8672, allocations: 279.9 kB / 1.098 GB, free: 12.84 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.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 (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002177/0.8693, allocations: 1.695 MB / 1.1 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001382/0.8707, allocations: 0.7831 MB / 1.1 GB, free: 10.3 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.8707, allocations: 7.938 kB / 1.1 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005922/0.8713, allocations: 399.7 kB / 1.101 GB, free: 9.902 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002609/0.8739, allocations: 0.606 MB / 1.101 GB, free: 9.316 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/0.8847, allocations: 7.038 MB / 1.108 GB, free: 2.027 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008741/0.8856, allocations: 1.092 MB / 1.109 GB, free: 0.9062 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0008734/0.8865, allocations: 215.7 kB / 1.11 GB, free: 0.6914 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005091/0.887, allocations: 343.3 kB / 1.11 GB, free: 364 kB / 0.7481 GB Notification: Performance of SimCode: time 7.31e-07/0.887, allocations: 0 / 1.11 GB, free: 364 kB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07452/0.9615, allocations: 28.08 MB / 1.137 GB, free: 4.742 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.33/14.3, allocations: 12.06 kB / 1.137 GB, free: 4.73 MB / 0.7794 GB " [Timeout remaining time 646] (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.276040222961456] Failed to read output from testmodel.py, exit status != 0: 14.420747481985018 14.438024699 13.608356708 Calling exit ...