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.001258/0.001258, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001384/0.001384, allocations: 220.1 kB / 23.03 MB, free: 4.922 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.389/1.389, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.002404/0.002404, allocations: 272.9 kB / 313.5 MB, free: 2.621 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.186/1.186, allocations: 180.6 MB / 0.5377 GB, free: 14.61 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.002642/0.002642, allocations: 99.31 kB / 0.7403 GB, free: 28.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1712, allocations: 95.38 MB / 0.8334 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.6685/0.8397, allocations: 195.8 MB / 1.025 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008476/0.8482, allocations: 5.41 MB / 1.03 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00186/0.8501, allocations: 56.62 kB / 1.03 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001516/0.8516, allocations: 0.5553 MB / 1.03 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004766/0.8564, allocations: 1.933 MB / 1.032 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002826/0.8592, allocations: 1.224 MB / 1.034 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003438/0.8626, allocations: 3.027 MB / 1.037 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001109/0.8637, allocations: 0.7717 MB / 1.037 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001986/0.8657, allocations: 1.146 MB / 1.038 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002127/0.8678, allocations: 1.023 MB / 1.039 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001695/0.868, allocations: 109.3 kB / 1.039 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002509/0.8705, allocations: 1.204 MB / 1.041 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004583/0.871, allocations: 477.7 kB / 1.041 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006208/0.8716, allocations: 0.5459 MB / 1.042 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002573/0.8742, allocations: 2.11 MB / 1.044 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.8742, allocations: 0 / 1.044 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.074e-06/0.8742, allocations: 0 / 1.044 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.523e-05/0.8742, allocations: 1.031 kB / 1.044 GB, free: 2.004 MB / 0.7169 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.002205/0.8764, allocations: 1.466 MB / 1.045 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.8764, allocations: 8.938 kB / 1.045 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.728e-05/0.8765, allocations: 23.66 kB / 1.045 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001481/0.8766, allocations: 140.4 kB / 1.045 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001864/0.8785, allocations: 329.4 kB / 1.046 GB, free: 17.17 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.8797, allocations: 0.7933 MB / 1.046 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.647e-05/0.8797, allocations: 60.94 kB / 1.046 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.8798, allocations: 83.38 kB / 1.047 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/0.8816, allocations: 1.366 MB / 1.048 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.381e-05/0.8816, allocations: 1 kB / 1.048 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.252e-05/0.8817, allocations: 42.91 kB / 1.048 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.651e-05/0.8817, allocations: 34.19 kB / 1.048 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.883, allocations: 0.8313 MB / 1.049 GB, free: 16.27 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.00422/0.8872, allocations: 2.549 MB / 1.051 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006282/0.8879, allocations: 466 kB / 1.052 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003783/0.8882, allocations: 288.1 kB / 1.052 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001563/0.8884, allocations: 27.39 kB / 1.052 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.8884, allocations: 45.64 kB / 1.052 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=47): time 2.785e-06/0.8884, allocations: 0 / 1.052 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49): time 0.003029/0.8915, allocations: 1.657 MB / 1.054 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.8915, allocations: 57.72 kB / 1.054 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008093/0.8923, allocations: 0.8054 MB / 1.054 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.323e-05/0.8924, allocations: 39.86 kB / 1.055 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002667/0.8926, allocations: 486.6 kB / 1.055 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.8928, allocations: 182.1 kB / 1.055 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001704/0.8929, allocations: 124.8 kB / 1.055 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.8931, allocations: 328.8 kB / 1.056 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003624/0.8934, allocations: 248.2 kB / 1.056 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004997/0.8939, allocations: 486 kB / 1.056 GB, free: 14.02 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.003342/0.8973, allocations: 1.464 MB / 1.058 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.8973, allocations: 3.938 kB / 1.058 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001195/0.8985, allocations: 0.7943 MB / 1.059 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.8985, allocations: 10.97 kB / 1.059 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.8985, allocations: 1.062 kB / 1.059 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001586/0.8987, allocations: 67.62 kB / 1.059 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000613/0.8993, allocations: 151.8 kB / 1.059 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002598/0.9019, allocations: 2.905 MB / 1.062 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007765/0.9027, allocations: 32.33 kB / 1.062 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.942e-05/0.9027, allocations: 25.17 kB / 1.062 GB, free: 10.47 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.0004874/0.9032, allocations: 306 kB / 1.062 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/0.9033, allocations: 99.11 kB / 1.062 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001798/0.9035, allocations: 102.6 kB / 1.062 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.9035, allocations: 4.531 kB / 1.062 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.9035, allocations: 2.188 kB / 1.062 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001012/0.9045, allocations: 0.8377 MB / 1.063 GB, free: 9.551 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002628/0.9072, allocations: 1.624 MB / 1.065 GB, free: 8.742 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.9072, allocations: 3.5 kB / 1.065 GB, free: 8.742 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005703/0.9077, allocations: 142 kB / 1.065 GB, free: 8.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.053e-05/0.9078, allocations: 33.86 kB / 1.065 GB, free: 8.719 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.728e-05/0.9079, allocations: 19.38 kB / 1.065 GB, free: 8.711 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0013/0.9092, allocations: 1.49 MB / 1.066 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.9092, allocations: 8.156 kB / 1.066 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/0.9106, allocations: 1.082 MB / 1.067 GB, free: 6.789 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003761/0.911, allocations: 158.7 kB / 1.067 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.9111, allocations: 18.91 kB / 1.067 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006603/0.9118, allocations: 34.42 kB / 1.067 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.9119, allocations: 39.34 kB / 1.067 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-05/0.9119, allocations: 30.67 kB / 1.067 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006824/0.9126, allocations: 0.5658 MB / 1.068 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.9126, allocations: 0 / 1.068 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008201/0.9134, allocations: 278.4 kB / 1.068 GB, free: 6.426 MB / 0.7325 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.001976/0.9154, allocations: 1.686 MB / 1.07 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001294/0.9167, allocations: 0.7842 MB / 1.071 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.9167, allocations: 2.281 kB / 1.071 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005306/0.9173, allocations: 395.7 kB / 1.071 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002357/0.9196, allocations: 0.6093 MB / 1.072 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00933/0.9289, allocations: 7.041 MB / 1.079 GB, free: 444 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005078/0.9294, allocations: 0.4897 MB / 1.079 GB, free: 148 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008288/0.9303, allocations: 224.5 kB / 1.079 GB, free: 40 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005389/0.9308, allocations: 348.5 kB / 1.08 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of SimCode: time 1.432e-06/0.9308, allocations: 1.594 kB / 1.08 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06731/0.9981, allocations: 29.94 MB / 1.109 GB, free: 6.582 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/14.57, allocations: 4 kB / 1.109 GB, free: 6.578 MB / 0.7637 GB " [Timeout remaining time 645] (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.667905821930617] Failed to read output from testmodel.py, exit status != 0: 14.752053470932879 14.768087834 13.890821978 Calling exit ...