Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 195.5 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.241/1.241, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002007/0.002007, allocations: 279.1 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.899/0.899, allocations: 169.3 MB / 0.4982 GB, free: 13.9 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 94.22 kB / 0.5953 GB, free: 28.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1419, allocations: 86.98 MB / 0.6803 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.4447/0.5867, allocations: 190.6 MB / 0.8664 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008817/0.5956, allocations: 5.724 MB / 0.872 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001423/0.597, allocations: 43.5 kB / 0.872 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001391/0.5984, allocations: 0.5853 MB / 0.8726 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003701/0.6022, allocations: 1.622 MB / 0.8742 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00267/0.6049, allocations: 1.206 MB / 0.8754 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00256/0.6074, allocations: 2.565 MB / 0.8779 GB, free: 7.172 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.6086, allocations: 0.8917 MB / 0.8787 GB, free: 6.613 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001582/0.6102, allocations: 1.036 MB / 0.8797 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001342/0.6115, allocations: 0.8113 MB / 0.8805 GB, free: 5.531 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000156/0.6117, allocations: 97.34 kB / 0.8806 GB, free: 5.531 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002568/0.6143, allocations: 1.539 MB / 0.8821 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003861/0.6147, allocations: 412.5 kB / 0.8825 GB, free: 4.414 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006499/0.6153, allocations: 0.5843 MB / 0.8831 GB, free: 4.043 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00236/0.6177, allocations: 2.003 MB / 0.885 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.6177, allocations: 0 / 0.885 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6177, allocations: 0 / 0.885 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.193e-05/0.6177, allocations: 2.531 kB / 0.8851 GB, free: 2.762 MB / 0.5919 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.002067/0.6198, allocations: 1.439 MB / 0.8865 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.6198, allocations: 10.12 kB / 0.8865 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001396/0.62, allocations: 122.1 kB / 0.8866 GB, free: 1.562 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002487/0.6225, allocations: 414 kB / 0.887 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/0.6237, allocations: 0.7677 MB / 0.8877 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003361/0.624, allocations: 113.3 kB / 0.8878 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.6241, allocations: 74.22 kB / 0.8879 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001685/0.6258, allocations: 0.9969 MB / 0.8889 GB, free: 124 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.6259, allocations: 0 / 0.8889 GB, free: 124 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.532e-05/0.626, allocations: 31.75 kB / 0.8889 GB, free: 100 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.121e-05/0.626, allocations: 27.44 kB / 0.8889 GB, free: 96 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001892/0.6279, allocations: 0.8866 MB / 0.8898 GB, free: 15.66 MB / 0.6075 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.005478/0.6334, allocations: 3.522 MB / 0.8932 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001699/0.6351, allocations: 0.629 MB / 0.8939 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008188/0.6359, allocations: 334.4 kB / 0.8942 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001809/0.6361, allocations: 101.8 kB / 0.8943 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.6362, allocations: 46.48 kB / 0.8943 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=39): time 2.104e-06/0.6362, allocations: 0 / 0.8943 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of matching and sorting (n=41): time 0.008244/0.6444, allocations: 2.418 MB / 0.8967 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.6445, allocations: 55.41 kB / 0.8967 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/0.6455, allocations: 0.7902 MB / 0.8975 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.589e-05/0.6456, allocations: 41.7 kB / 0.8975 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000316/0.6459, allocations: 455.6 kB / 0.898 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.6461, allocations: 141.9 kB / 0.8981 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001896/0.6463, allocations: 110 kB / 0.8982 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.6464, allocations: 326 kB / 0.8985 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008301/0.6472, allocations: 308.9 kB / 0.8988 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009177/0.6481, allocations: 420 kB / 0.8992 GB, free: 6.746 MB / 0.6075 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.005464/0.6536, allocations: 1.898 MB / 0.9011 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.6536, allocations: 1.438 kB / 0.9011 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003299/0.6569, allocations: 1.05 MB / 0.9021 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.657, allocations: 4 kB / 0.9021 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.657, allocations: 4 kB / 0.9021 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005979/0.6576, allocations: 192.8 kB / 0.9023 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007094/0.6583, allocations: 147.8 kB / 0.9024 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003991/0.6623, allocations: 2.239 MB / 0.9046 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/0.6634, allocations: 51.95 kB / 0.9047 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.172e-05/0.6635, allocations: 23.98 kB / 0.9047 GB, free: 0.9453 MB / 0.6075 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.0005006/0.664, allocations: 270.8 kB / 0.905 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002301/0.6642, allocations: 94.91 kB / 0.905 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002201/0.6644, allocations: 96.23 kB / 0.9051 GB, free: 492 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.6645, allocations: 4 kB / 0.9051 GB, free: 488 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.6645, allocations: 7.938 kB / 0.9051 GB, free: 480 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002907/0.6674, allocations: 0.9111 MB / 0.906 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005473/0.6729, allocations: 2.11 MB / 0.9081 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.315e-06/0.6729, allocations: 7.938 kB / 0.9081 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006429/0.6735, allocations: 129.4 kB / 0.9082 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005495/0.6741, allocations: 192.7 kB / 0.9084 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.103e-05/0.6741, allocations: 15.98 kB / 0.9084 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003569/0.6777, allocations: 2.185 MB / 0.9106 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.752e-06/0.6777, allocations: 11.95 kB / 0.9106 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003913/0.6817, allocations: 1.431 MB / 0.912 GB, free: 9.141 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004561/0.6821, allocations: 232.1 kB / 0.9122 GB, free: 8.891 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001697/0.6823, allocations: 16 kB / 0.9122 GB, free: 8.875 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009082/0.6832, allocations: 61.25 kB / 0.9123 GB, free: 8.816 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.722e-05/0.6833, allocations: 43.88 kB / 0.9123 GB, free: 8.773 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.834e-05/0.6834, allocations: 31.98 kB / 0.9123 GB, free: 8.742 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007523/0.6842, allocations: 0.5576 MB / 0.9129 GB, free: 8.191 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6842, allocations: 0 / 0.9129 GB, free: 8.191 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009159/0.6851, allocations: 272 kB / 0.9131 GB, free: 7.926 MB / 0.6231 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 (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.004476/0.6896, allocations: 2.062 MB / 0.9152 GB, free: 5.801 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002182/0.6918, allocations: 0.8482 MB / 0.916 GB, free: 4.938 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/0.6918, allocations: 7.938 kB / 0.916 GB, free: 4.93 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009904/0.6928, allocations: 467.1 kB / 0.9164 GB, free: 4.465 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00259/0.6954, allocations: 0.5509 MB / 0.917 GB, free: 3.926 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01554/0.711, allocations: 7.969 MB / 0.9248 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006987/0.7117, allocations: 1.04 MB / 0.9258 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008974/0.7126, allocations: 207.2 kB / 0.926 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004568/0.7131, allocations: 315.3 kB / 0.9263 GB, free: 10.08 MB / 0.6387 GB Notification: Performance of SimCode: time 1.503e-06/0.7131, allocations: 0 / 0.9263 GB, free: 10.08 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05594/0.769, allocations: 27.67 MB / 0.9533 GB, free: 14.93 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/12.23, allocations: 4.328 kB / 0.9533 GB, free: 14.93 MB / 0.67 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1)