Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.00137/0.00137, allocations: 114.5 kB / 17.13 MB, free: 6.027 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.001661/0.001661, allocations: 207.2 kB / 20.1 MB, free: 3.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.406/1.406, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.9362/0.9362, allocations: 150 MB / 459.5 MB, free: 5.652 MB / 350.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.MixingVolumeMoistureReverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",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.00195/0.00195, allocations: 72.12 kB / 0.6361 GB, free: 30.42 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1597, allocations: 89.13 MB / 0.7232 GB, free: 4.148 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.6653/0.825, allocations: 225 MB / 0.9429 GB, free: 1.793 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.009202/0.8342, allocations: 5.755 MB / 0.9485 GB, free: 1.48 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001473/0.8357, allocations: 59.97 kB / 0.9486 GB, free: 1.477 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001409/0.8371, allocations: 0.6098 MB / 0.9492 GB, free: 1.359 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004368/0.8415, allocations: 1.914 MB / 0.951 GB, free: 0.9375 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002788/0.8442, allocations: 1.202 MB / 0.9522 GB, free: 0.5117 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003962/0.8482, allocations: 3.009 MB / 0.9552 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001189/0.8494, allocations: 0.8562 MB / 0.956 GB, free: 15.51 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00231/0.8517, allocations: 1.326 MB / 0.9573 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001905/0.8536, allocations: 0.9903 MB / 0.9583 GB, free: 14.85 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000143/0.8538, allocations: 107.7 kB / 0.9584 GB, free: 14.85 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002872/0.8566, allocations: 1.501 MB / 0.9598 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004751/0.8571, allocations: 474.1 kB / 0.9603 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0006881/0.8578, allocations: 0.6556 MB / 0.9609 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002852/0.8606, allocations: 2.144 MB / 0.963 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.8606, allocations: 0 / 0.963 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8606, allocations: 4 kB / 0.963 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.152e-05/0.8607, allocations: 0 / 0.963 GB, free: 12.36 MB / 0.6856 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.002587/0.8633, allocations: 1.542 MB / 0.9645 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.8633, allocations: 7.125 kB / 0.9645 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001842/0.8635, allocations: 146.8 kB / 0.9647 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001961/0.8654, allocations: 331.6 kB / 0.965 GB, free: 10.94 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.8668, allocations: 0.8637 MB / 0.9658 GB, free: 10.31 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.363e-05/0.8668, allocations: 64.78 kB / 0.9659 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.867, allocations: 91.06 kB / 0.966 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.8685, allocations: 0.9071 MB / 0.9669 GB, free: 9.734 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.8685, allocations: 0 / 0.9669 GB, free: 9.734 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/0.8686, allocations: 42.59 kB / 0.9669 GB, free: 9.703 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-05/0.8687, allocations: 30.78 kB / 0.9669 GB, free: 9.703 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001422/0.8701, allocations: 0.8343 MB / 0.9677 GB, free: 9.297 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005319/0.8754, allocations: 3.67 MB / 0.9713 GB, free: 6.426 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007721/0.8762, allocations: 476 kB / 0.9718 GB, free: 6.168 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004361/0.8766, allocations: 290 kB / 0.9721 GB, free: 6.02 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001965/0.8768, allocations: 106.3 kB / 0.9722 GB, free: 5.914 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.8768, allocations: 48.66 kB / 0.9722 GB, free: 5.863 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=47): time 1.543e-06/0.8768, allocations: 0 / 0.9722 GB, free: 5.863 MB / 0.6856 GB Notification: Performance of matching and sorting (n=49): time 0.003573/0.8804, allocations: 1.886 MB / 0.974 GB, free: 4.613 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.8805, allocations: 55.22 kB / 0.9741 GB, free: 4.551 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.8815, allocations: 0.81 MB / 0.9749 GB, free: 4.094 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.746e-05/0.8815, allocations: 38.83 kB / 0.9749 GB, free: 4.055 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004311/0.882, allocations: 485.3 kB / 0.9754 GB, free: 3.633 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001937/0.8822, allocations: 187.5 kB / 0.9756 GB, free: 3.473 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000214/0.8824, allocations: 115.2 kB / 0.9757 GB, free: 3.402 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001956/0.8826, allocations: 335.1 kB / 0.976 GB, free: 3.078 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004656/0.883, allocations: 240.8 kB / 0.9762 GB, free: 2.965 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006119/0.8836, allocations: 389.2 kB / 0.9766 GB, free: 2.676 MB / 0.6856 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.003808/0.8875, allocations: 1.541 MB / 0.9781 GB, free: 1.652 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.8875, allocations: 0 / 0.9781 GB, free: 1.652 MB / 0.6856 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001382/0.8888, allocations: 0.7935 MB / 0.9789 GB, free: 0.8633 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.8889, allocations: 8 kB / 0.9789 GB, free: 0.8555 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.8889, allocations: 4 kB / 0.9789 GB, free: 0.8516 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001969/0.8891, allocations: 65.67 kB / 0.979 GB, free: 0.7812 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000675/0.8897, allocations: 151.8 kB / 0.9791 GB, free: 0.6406 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00276/0.8925, allocations: 3.12 MB / 0.9821 GB, free: 13.26 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007816/0.8933, allocations: 28.8 kB / 0.9822 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.321e-05/0.8933, allocations: 26.62 kB / 0.9822 GB, free: 13.21 MB / 0.7012 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.0004608/0.8938, allocations: 307.7 kB / 0.9825 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/0.894, allocations: 95.39 kB / 0.9826 GB, free: 12.81 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001937/0.8941, allocations: 100.7 kB / 0.9827 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.8942, allocations: 4 kB / 0.9827 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.8942, allocations: 8.625 kB / 0.9827 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001093/0.8953, allocations: 0.8335 MB / 0.9835 GB, free: 11.78 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002886/0.8981, allocations: 1.788 MB / 0.9853 GB, free: 9.922 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.8981, allocations: 6.531 kB / 0.9853 GB, free: 9.918 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006085/0.8988, allocations: 133 kB / 0.9854 GB, free: 9.793 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.296e-05/0.8988, allocations: 40.78 kB / 0.9854 GB, free: 9.75 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.626e-05/0.8989, allocations: 15.98 kB / 0.9854 GB, free: 9.734 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001351/0.9002, allocations: 1.594 MB / 0.987 GB, free: 8.008 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.9002, allocations: 6.531 kB / 0.987 GB, free: 8.004 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.9018, allocations: 1.081 MB / 0.9881 GB, free: 6.875 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000374/0.9022, allocations: 240.5 kB / 0.9883 GB, free: 6.621 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.9023, allocations: 24 kB / 0.9883 GB, free: 6.598 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006543/0.903, allocations: 27.23 kB / 0.9883 GB, free: 6.574 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.9031, allocations: 42.44 kB / 0.9884 GB, free: 6.535 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.453e-05/0.9032, allocations: 39.86 kB / 0.9884 GB, free: 6.496 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0007302/0.9039, allocations: 0.5576 MB / 0.989 GB, free: 5.941 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8e-08/0.9039, allocations: 4 kB / 0.989 GB, free: 5.938 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0009034/0.9048, allocations: 279.9 kB / 0.9892 GB, free: 5.664 MB / 0.7012 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.002113/0.9069, allocations: 1.68 MB / 0.9909 GB, free: 3.922 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001308/0.9082, allocations: 0.7812 MB / 0.9916 GB, free: 3.141 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.9082, allocations: 0 / 0.9916 GB, free: 3.141 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0006039/0.9088, allocations: 407.2 kB / 0.992 GB, free: 2.746 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002623/0.9114, allocations: 0.6082 MB / 0.9926 GB, free: 2.172 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01102/0.9225, allocations: 7.03 MB / 0.9995 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008008/0.9233, allocations: 1.095 MB / 1.001 GB, free: 9.77 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0007528/0.924, allocations: 219.7 kB / 1.001 GB, free: 9.551 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004802/0.9245, allocations: 339.3 kB / 1.001 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of SimCode: time 5.31e-07/0.9245, allocations: 0 / 1.001 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07068/0.9952, allocations: 27.61 MB / 1.028 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/13.68, allocations: 14.67 kB / 1.028 GB, free: 14.04 MB / 0.7481 GB " [Timeout remaining time 646] (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.564944226061925] Failed to read output from testmodel.py, exit status != 0: 13.78634099313058 13.809617251 12.944820721 Calling exit ...