Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.001331/0.001331, allocations: 97.88 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.001432/0.001432, allocations: 217.8 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8817/0.8817, allocations: 134 MB / 447.2 MB, free: 9.914 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.002963/0.002963, allocations: 71.14 kB / 0.6193 GB, free: 6.844 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2035, allocations: 85.91 MB / 0.7032 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.5567/0.7602, allocations: 168.3 MB / 0.8676 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01057/0.7708, allocations: 5.384 MB / 0.8728 GB, free: 5.324 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001686/0.7725, allocations: 59.5 kB / 0.8729 GB, free: 5.266 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001835/0.7743, allocations: 0.563 MB / 0.8734 GB, free: 4.699 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004636/0.7789, allocations: 1.684 MB / 0.8751 GB, free: 3.008 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003491/0.7824, allocations: 1.239 MB / 0.8763 GB, free: 1.781 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004219/0.7866, allocations: 2.624 MB / 0.8789 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001368/0.788, allocations: 0.6955 MB / 0.8795 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002738/0.7908, allocations: 1.121 MB / 0.8806 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002498/0.7933, allocations: 0.8672 MB / 0.8815 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002787/0.7935, allocations: 99.94 kB / 0.8816 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00329/0.7968, allocations: 1.313 MB / 0.8829 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005822/0.7974, allocations: 414.8 kB / 0.8833 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0008572/0.7983, allocations: 494 kB / 0.8837 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003634/0.8019, allocations: 1.997 MB / 0.8857 GB, free: 8.152 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.8019, allocations: 0 / 0.8857 GB, free: 8.152 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8019, allocations: 0 / 0.8857 GB, free: 8.152 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.57e-05/0.8019, allocations: 0 / 0.8857 GB, free: 8.152 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.002546/0.8045, allocations: 1.399 MB / 0.887 GB, free: 6.715 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.8045, allocations: 16.03 kB / 0.8871 GB, free: 6.699 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.061e-05/0.8045, allocations: 18 kB / 0.8871 GB, free: 6.684 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001652/0.8047, allocations: 122.6 kB / 0.8872 GB, free: 6.555 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002725/0.8074, allocations: 418.9 kB / 0.8876 GB, free: 6.145 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00162/0.8091, allocations: 0.7285 MB / 0.8883 GB, free: 5.391 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.559e-05/0.8091, allocations: 65.56 kB / 0.8884 GB, free: 5.332 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/0.8093, allocations: 76 kB / 0.8884 GB, free: 5.258 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002224/0.8115, allocations: 1.363 MB / 0.8898 GB, free: 3.781 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.76e-05/0.8115, allocations: 3.953 kB / 0.8898 GB, free: 3.777 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.511e-05/0.8116, allocations: 32 kB / 0.8898 GB, free: 3.746 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-05/0.8117, allocations: 29.98 kB / 0.8898 GB, free: 3.719 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002003/0.8137, allocations: 0.8743 MB / 0.8907 GB, free: 2.844 MB / 0.6544 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.006142/0.8198, allocations: 2.772 MB / 0.8934 GB, free: 0 / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001601/0.8214, allocations: 0.5813 MB / 0.894 GB, free: 15.41 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007681/0.8222, allocations: 313.3 kB / 0.8943 GB, free: 15.1 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001622/0.8223, allocations: 20.31 kB / 0.8943 GB, free: 15.08 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.8224, allocations: 39.22 kB / 0.8943 GB, free: 15.04 MB / 0.67 GB Notification: Performance of pre-optimization done (n=39): time 2.525e-06/0.8224, allocations: 0 / 0.8943 GB, free: 15.04 MB / 0.67 GB Notification: Performance of matching and sorting (n=41): time 0.008341/0.8307, allocations: 2.252 MB / 0.8965 GB, free: 12.74 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.8308, allocations: 55.41 kB / 0.8966 GB, free: 12.68 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/0.8319, allocations: 0.7979 MB / 0.8973 GB, free: 11.87 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.325e-05/0.832, allocations: 37.7 kB / 0.8974 GB, free: 11.82 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003918/0.8324, allocations: 456.5 kB / 0.8978 GB, free: 11.37 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000158/0.8325, allocations: 150.7 kB / 0.898 GB, free: 11.22 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.8327, allocations: 106.2 kB / 0.8981 GB, free: 11.11 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.8329, allocations: 334 kB / 0.8984 GB, free: 10.78 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007851/0.8337, allocations: 297.1 kB / 0.8987 GB, free: 10.49 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009262/0.8346, allocations: 0.5133 MB / 0.8992 GB, free: 9.914 MB / 0.67 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.005294/0.8399, allocations: 1.795 MB / 0.9009 GB, free: 8.078 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.269e-06/0.8399, allocations: 4 kB / 0.9009 GB, free: 8.074 MB / 0.67 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003449/0.8434, allocations: 1.031 MB / 0.9019 GB, free: 7.035 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.154e-05/0.8434, allocations: 11.98 kB / 0.9019 GB, free: 7.023 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.8434, allocations: 4 kB / 0.9019 GB, free: 7.02 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007267/0.8441, allocations: 188.7 kB / 0.9021 GB, free: 6.832 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007371/0.8449, allocations: 147.8 kB / 0.9023 GB, free: 6.688 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004498/0.8494, allocations: 2.097 MB / 0.9043 GB, free: 4.477 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/0.8505, allocations: 51.95 kB / 0.9044 GB, free: 4.426 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.386e-05/0.8505, allocations: 20 kB / 0.9044 GB, free: 4.406 MB / 0.67 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: 12 * 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 (59): * Single equations (assignments): 58 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0005355/0.8511, allocations: 283.3 kB / 0.9047 GB, free: 4.121 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001868/0.8513, allocations: 91.44 kB / 0.9047 GB, free: 4.031 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001841/0.8514, allocations: 92.25 kB / 0.9048 GB, free: 3.941 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/0.8514, allocations: 11.97 kB / 0.9048 GB, free: 3.93 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.8515, allocations: 0 / 0.9048 GB, free: 3.93 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002915/0.8544, allocations: 0.895 MB / 0.9057 GB, free: 3 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005487/0.8599, allocations: 1.941 MB / 0.9076 GB, free: 0.9648 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/0.8599, allocations: 4 kB / 0.9076 GB, free: 0.9609 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006577/0.8605, allocations: 128.2 kB / 0.9077 GB, free: 0.8359 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005592/0.8611, allocations: 180.7 kB / 0.9079 GB, free: 0.6562 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.667e-05/0.8611, allocations: 20 kB / 0.9079 GB, free: 0.6367 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003857/0.865, allocations: 2.061 MB / 0.9099 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/0.865, allocations: 7.969 kB / 0.9099 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00407/0.8691, allocations: 1.437 MB / 0.9114 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005708/0.8696, allocations: 167.4 kB / 0.9115 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/0.8698, allocations: 20.06 kB / 0.9115 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008466/0.8706, allocations: 55.94 kB / 0.9116 GB, free: 12.72 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.8707, allocations: 43.81 kB / 0.9116 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.768e-05/0.8708, allocations: 31.97 kB / 0.9117 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008419/0.8717, allocations: 0.5575 MB / 0.9122 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8717, allocations: 0 / 0.9122 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00105/0.8727, allocations: 275.9 kB / 0.9125 GB, free: 11.82 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[1]) * 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 (37): * Single equations (assignments): 36 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004749/0.8775, allocations: 2.067 MB / 0.9145 GB, free: 9.688 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002446/0.8799, allocations: 0.7898 MB / 0.9153 GB, free: 8.883 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 9.728e-06/0.8799, allocations: 0 / 0.9153 GB, free: 8.883 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001045/0.881, allocations: 447.5 kB / 0.9157 GB, free: 8.434 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002687/0.8836, allocations: 0.5522 MB / 0.9162 GB, free: 7.906 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01628/0.8999, allocations: 7.682 MB / 0.9237 GB, free: 15.94 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005002/0.9004, allocations: 458.5 kB / 0.9242 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.000834/0.9013, allocations: 199.2 kB / 0.9243 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005974/0.9019, allocations: 315.3 kB / 0.9246 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of SimCode: time 1.713e-06/0.9019, allocations: 0 / 0.9246 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0908/0.9927, allocations: 29.97 MB / 0.9539 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.25/15.24, allocations: 12 kB / 0.9539 GB, free: 1.504 MB / 0.7169 GB " [Timeout remaining time 645] (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.009901882964186] Failed to read output from testmodel.py, exit status != 0: 15.435679357964545 15.452785077 14.647322885 Calling exit ...