Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.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.001807/0.001807, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002252/0.002252, allocations: 208.8 kB / 22.99 MB, free: 4.609 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.427/1.427, 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/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.9733/0.9733, allocations: 149.9 MB / 463.1 MB, free: 10.39 MB / 366.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.MoistureMixingConservationDynamicBalance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",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.002052/0.002052, allocations: 62.72 kB / 0.6411 GB, free: 10.1 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.1957, allocations: 89.18 MB / 0.7282 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.6086/0.8043, allocations: 197.4 MB / 0.9209 GB, free: 15.72 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01886/0.8232, allocations: 11.37 MB / 0.932 GB, free: 4.328 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00272/0.8259, allocations: 99.19 kB / 0.9321 GB, free: 4.23 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.002331/0.8283, allocations: 0.8382 MB / 0.9329 GB, free: 3.387 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.007906/0.8362, allocations: 2.988 MB / 0.9359 GB, free: 396 kB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003791/0.84, allocations: 1.465 MB / 0.9373 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.006442/0.8464, allocations: 4.529 MB / 0.9417 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002113/0.8485, allocations: 1.347 MB / 0.943 GB, free: 9.004 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006742/0.8552, allocations: 2.84 MB / 0.9458 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003733/0.859, allocations: 1.577 MB / 0.9473 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004881/0.8595, allocations: 180 kB / 0.9475 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004626/0.8641, allocations: 1.773 MB / 0.9493 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001006/0.8651, allocations: 0.7283 MB / 0.95 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001409/0.8665, allocations: 0.8712 MB / 0.9508 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005451/0.872, allocations: 3.309 MB / 0.954 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.872, allocations: 0 / 0.954 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.804e-06/0.872, allocations: 0 / 0.954 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.741e-05/0.872, allocations: 4 kB / 0.954 GB, free: 13.73 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: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.003848/0.8759, allocations: 2.249 MB / 0.9562 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.8759, allocations: 8.031 kB / 0.9563 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002624/0.8762, allocations: 210.8 kB / 0.9565 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002852/0.879, allocations: 0.5107 MB / 0.957 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002512/0.8815, allocations: 1.258 MB / 0.9582 GB, free: 9.395 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.674e-05/0.8816, allocations: 106.8 kB / 0.9583 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002378/0.8819, allocations: 152 kB / 0.9584 GB, free: 9.141 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003005/0.8849, allocations: 2.157 MB / 0.9605 GB, free: 6.781 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.076e-05/0.8849, allocations: 3.938 kB / 0.9605 GB, free: 6.777 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001382/0.885, allocations: 60 kB / 0.9606 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.393e-05/0.8851, allocations: 54.55 kB / 0.9606 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002322/0.8874, allocations: 1.427 MB / 0.962 GB, free: 5.23 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.008771/0.8962, allocations: 5.906 MB / 0.9678 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/0.8979, allocations: 1.006 MB / 0.9688 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001007/0.8989, allocations: 0.6638 MB / 0.9694 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001747/0.899, allocations: 36.98 kB / 0.9695 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.006e-05/0.8991, allocations: 51.5 kB / 0.9695 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0013/0.9004, allocations: 351 kB / 0.9699 GB, free: 13 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=106): time 3.426e-06/0.9004, allocations: 0 / 0.9699 GB, free: 13 MB / 0.7481 GB Notification: Performance of matching and sorting (n=112): time 0.008005/0.9084, allocations: 4.391 MB / 0.9741 GB, free: 8.578 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.9085, allocations: 175.1 kB / 0.9743 GB, free: 8.371 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001646/0.9102, allocations: 1.271 MB / 0.9756 GB, free: 7.09 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 9.817e-05/0.9103, allocations: 57.64 kB / 0.9756 GB, free: 7.027 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006226/0.9109, allocations: 0.7097 MB / 0.9763 GB, free: 6.312 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000393/0.9113, allocations: 420.4 kB / 0.9767 GB, free: 5.898 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004149/0.9117, allocations: 263.5 kB / 0.977 GB, free: 5.637 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001936/0.9119, allocations: 353.9 kB / 0.9773 GB, free: 5.285 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008818/0.9128, allocations: 0.527 MB / 0.9778 GB, free: 4.758 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/0.914, allocations: 1.032 MB / 0.9788 GB, free: 3.562 MB / 0.7481 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) 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 (sin.p = vol1.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: vol2.dynBal.medium.p = vol2.dynBal.p_start (sin.p = vol2.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01145/0.9255, allocations: 4.57 MB / 0.9833 GB, free: 14.89 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.9255, allocations: 0 / 0.9833 GB, free: 14.89 MB / 0.7637 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.00281/0.9283, allocations: 1.628 MB / 0.9849 GB, free: 13.25 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.9283, allocations: 8 kB / 0.9849 GB, free: 13.24 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.332e-05/0.9284, allocations: 8 kB / 0.9849 GB, free: 13.23 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.288e-05/0.9284, allocations: 16 kB / 0.9849 GB, free: 13.22 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/0.9295, allocations: 287.5 kB / 0.9852 GB, free: 12.94 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.836e-05/0.9296, allocations: 24.5 kB / 0.9852 GB, free: 12.91 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.9308, allocations: 56.41 kB / 0.9852 GB, free: 12.86 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/0.931, allocations: 55.98 kB / 0.9853 GB, free: 12.8 MB / 0.7637 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 vol1.dynBal.medium.p = vol1.dynBal.p_start vol2.dynBal.medium.p = vol2.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 (intMasVapOut.local_reset,intEntIn.local_reset,intEntOut.local_reset,intMasFloIn.local_reset,intMasFloOut.local_reset,intMasFloVapIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 169 * 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.0007774/0.9317, allocations: 428.3 kB / 0.9857 GB, free: 12.38 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003203/0.9321, allocations: 175 kB / 0.9859 GB, free: 12.21 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002196/0.9342, allocations: 1.291 MB / 0.9871 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.9343, allocations: 12 kB / 0.9871 GB, free: 10.88 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/0.9343, allocations: 7.938 kB / 0.9872 GB, free: 10.88 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001665/0.9359, allocations: 1.241 MB / 0.9884 GB, free: 9.566 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006211/0.9421, allocations: 3.497 MB / 0.9918 GB, free: 5.879 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.271e-05/0.9422, allocations: 12.06 kB / 0.9918 GB, free: 5.867 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/0.9433, allocations: 247.6 kB / 0.992 GB, free: 5.625 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-05/0.9433, allocations: 19.94 kB / 0.992 GB, free: 5.605 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.375e-05/0.9434, allocations: 39.98 kB / 0.9921 GB, free: 5.566 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.965e-05/0.9434, allocations: 19.94 kB / 0.9921 GB, free: 5.547 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.149e-05/0.9434, allocations: 11.94 kB / 0.9921 GB, free: 5.535 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002993/0.9464, allocations: 2.138 MB / 0.9942 GB, free: 3.25 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007703/0.9472, allocations: 286.7 kB / 0.9945 GB, free: 2.969 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001908/0.9473, allocations: 40.86 kB / 0.9945 GB, free: 2.93 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/0.9483, allocations: 47.09 kB / 0.9946 GB, free: 2.887 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/0.9485, allocations: 104.3 kB / 0.9947 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.008e-05/0.9486, allocations: 51.98 kB / 0.9947 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001163/0.9498, allocations: 0.8568 MB / 0.9955 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9498, allocations: 3.938 kB / 0.9956 GB, free: 1.875 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.00127/0.951, allocations: 435.9 kB / 0.996 GB, free: 1.449 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,intMasFloVapIn.y,intMasFloOut.y,intMasFloIn.y,intEntOut.y,intEntIn.y,intMasVapOut.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 (115): * Single equations (assignments): 115 * 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.003496/0.9545, allocations: 2.794 MB / 0.9987 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.002145/0.9567, allocations: 1.188 MB / 0.9999 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/0.9567, allocations: 4 kB / 0.9999 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007993/0.9575, allocations: 0.5254 MB / 1 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00382/0.9613, allocations: 0.9265 MB / 1.001 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0183/0.9796, allocations: 12.72 MB / 1.014 GB, free: 14.49 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009254/0.9805, allocations: 0.7886 MB / 1.014 GB, free: 13.67 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.00147/0.982, allocations: 389.3 kB / 1.015 GB, free: 13.29 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00101/0.983, allocations: 0.6438 MB / 1.015 GB, free: 12.64 MB / 0.795 GB Notification: Performance of SimCode: time 1.312e-06/0.983, allocations: 0 / 1.015 GB, free: 12.64 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09157/1.075, allocations: 47.13 MB / 1.061 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/13.38, allocations: 3.938 kB / 1.061 GB, free: 14.27 MB / 0.8419 GB " [Timeout remaining time 646] (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.256190882064402] Failed to read output from testmodel.py, exit status != 0: 13.520759880077094 13.546382397 12.669630697 Calling exit ...