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.001212/0.001212, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.001438/0.001438, allocations: 217.4 kB / 23.04 MB, free: 5.074 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.355/1.355, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.002368/0.002368, allocations: 289.4 kB / 313.5 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.147/1.147, allocations: 180.6 MB / 0.5377 GB, free: 13.05 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="cs",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.002698/0.002698, allocations: 101.3 kB / 0.7404 GB, free: 28.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1716, allocations: 95.39 MB / 0.8335 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.6297/0.8012, allocations: 225.4 MB / 1.054 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00838/0.8096, allocations: 5.763 MB / 1.059 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001826/0.8114, allocations: 54.81 kB / 1.059 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001614/0.8131, allocations: 0.6141 MB / 1.06 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004696/0.8178, allocations: 1.946 MB / 1.062 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002906/0.8207, allocations: 1.244 MB / 1.063 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00363/0.8243, allocations: 3.038 MB / 1.066 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009766/0.8253, allocations: 0.7724 MB / 1.067 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001635/0.8269, allocations: 1.125 MB / 1.068 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001823/0.8287, allocations: 1.028 MB / 1.069 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001483/0.8289, allocations: 108.2 kB / 1.069 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002822/0.8317, allocations: 1.547 MB / 1.071 GB, free: 436 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004064/0.8321, allocations: 478.2 kB / 1.071 GB, free: 236 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007343/0.8328, allocations: 0.6584 MB / 1.072 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003158/0.836, allocations: 2.135 MB / 1.074 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.836, allocations: 3.25 kB / 1.074 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.593e-06/0.836, allocations: 1.031 kB / 1.074 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.541e-05/0.836, allocations: 0 / 1.074 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.002846/0.8389, allocations: 1.464 MB / 1.075 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.126e-05/0.8389, allocations: 9.062 kB / 1.075 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.725e-05/0.839, allocations: 28.81 kB / 1.075 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002118/0.8392, allocations: 138.3 kB / 1.075 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002182/0.8414, allocations: 329.6 kB / 1.076 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001709/0.8431, allocations: 0.7847 MB / 1.076 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.729e-05/0.8431, allocations: 66 kB / 1.076 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.8433, allocations: 83.09 kB / 1.077 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/0.8449, allocations: 0.9128 MB / 1.077 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.662e-05/0.845, allocations: 7.156 kB / 1.077 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-05/0.8451, allocations: 40.92 kB / 1.077 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.89e-05/0.8451, allocations: 31.59 kB / 1.077 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00137/0.8465, allocations: 0.8347 MB / 1.078 GB, free: 12.58 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.005312/0.8518, allocations: 3.475 MB / 1.082 GB, free: 9.953 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007427/0.8525, allocations: 471.1 kB / 1.082 GB, free: 9.703 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000479/0.853, allocations: 282.8 kB / 1.082 GB, free: 9.562 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001459/0.8531, allocations: 27.7 kB / 1.082 GB, free: 9.555 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.8532, allocations: 39.09 kB / 1.082 GB, free: 9.512 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=47): time 5.47e-06/0.8532, allocations: 3.984 kB / 1.082 GB, free: 9.508 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49): time 0.003483/0.8567, allocations: 1.672 MB / 1.084 GB, free: 8.539 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.8567, allocations: 55.25 kB / 1.084 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009035/0.8576, allocations: 0.8024 MB / 1.085 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.93e-05/0.8577, allocations: 40.33 kB / 1.085 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000368/0.858, allocations: 483.3 kB / 1.085 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001735/0.8582, allocations: 188.2 kB / 1.086 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001864/0.8584, allocations: 115.6 kB / 1.086 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.8585, allocations: 330.3 kB / 1.086 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004003/0.8589, allocations: 247.2 kB / 1.086 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005217/0.8595, allocations: 384.6 kB / 1.087 GB, free: 6.621 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.003436/0.8629, allocations: 1.459 MB / 1.088 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.8629, allocations: 1.844 kB / 1.088 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001424/0.8643, allocations: 0.7977 MB / 1.089 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.8644, allocations: 5.812 kB / 1.089 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.8644, allocations: 2.75 kB / 1.089 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001749/0.8645, allocations: 71.36 kB / 1.089 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006339/0.8652, allocations: 150.8 kB / 1.089 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002698/0.8679, allocations: 2.918 MB / 1.092 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008584/0.8687, allocations: 36 kB / 1.092 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.724e-05/0.8688, allocations: 20.53 kB / 1.092 GB, free: 2.535 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.0005337/0.8693, allocations: 305.4 kB / 1.092 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000215/0.8695, allocations: 95.06 kB / 1.092 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002281/0.8698, allocations: 104 kB / 1.092 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.8698, allocations: 4.875 kB / 1.092 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.8698, allocations: 4.062 kB / 1.092 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001075/0.8709, allocations: 0.8371 MB / 1.093 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003147/0.874, allocations: 1.77 MB / 1.095 GB, free: 312 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.874, allocations: 3.344 kB / 1.095 GB, free: 312 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005814/0.8746, allocations: 131.6 kB / 1.095 GB, free: 284 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.992e-05/0.8747, allocations: 34.34 kB / 1.095 GB, free: 268 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.148e-05/0.8747, allocations: 14.66 kB / 1.095 GB, free: 260 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001354/0.8761, allocations: 1.491 MB / 1.097 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-06/0.8761, allocations: 11.94 kB / 1.097 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/0.8777, allocations: 1.07 MB / 1.098 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004689/0.8782, allocations: 167.3 kB / 1.098 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001662/0.8784, allocations: 16.06 kB / 1.098 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000717/0.8791, allocations: 39.89 kB / 1.098 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.8792, allocations: 43.06 kB / 1.098 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.98e-05/0.8793, allocations: 27.98 kB / 1.098 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007703/0.88, allocations: 0.5615 MB / 1.099 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.88, allocations: 7.094 kB / 1.099 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009496/0.881, allocations: 283.9 kB / 1.099 GB, free: 12.79 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.002196/0.8832, allocations: 1.688 MB / 1.1 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001388/0.8846, allocations: 0.783 MB / 1.101 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.249e-05/0.8846, allocations: 4 kB / 1.101 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006159/0.8852, allocations: 403.5 kB / 1.102 GB, free: 9.859 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002815/0.888, allocations: 0.6 MB / 1.102 GB, free: 9.273 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/0.8986, allocations: 7.041 MB / 1.109 GB, free: 1.988 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008279/0.8994, allocations: 1.084 MB / 1.11 GB, free: 0.875 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0008058/0.9002, allocations: 219.7 kB / 1.11 GB, free: 0.6562 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005054/0.9007, allocations: 343.3 kB / 1.111 GB, free: 328 kB / 0.7481 GB Notification: Performance of SimCode: time 6.81e-07/0.9007, allocations: 0 / 1.111 GB, free: 328 kB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06997/0.9707, allocations: 28.11 MB / 1.138 GB, free: 4.688 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/14.26, allocations: 12 kB / 1.138 GB, free: 4.676 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.348665888013784] Failed to read output from testmodel.py, exit status != 0: 14.439119144983124 14.454496289 13.615570181 Calling exit ...