Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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/IDEAS 3.0.0/package.mo", uses=false) 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.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(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",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.005392/0.005392, allocations: 100.9 kB / 15.73 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 192.5 kB / 16.67 MB, free: 5.91 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.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7254/0.7254, allocations: 132.2 MB / 422.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 67.34 kB / 0.5809 GB, free: 1.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1593, allocations: 80.21 MB / 0.6592 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.5848/0.7441, allocations: 190.4 MB / 0.8452 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.008502/0.7527, allocations: 5.694 MB / 0.8508 GB, free: 2.625 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001852/0.7546, allocations: 41.25 kB / 0.8508 GB, free: 2.625 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001493/0.7561, allocations: 0.5874 MB / 0.8514 GB, free: 2.617 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004866/0.761, allocations: 1.675 MB / 0.853 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003244/0.7643, allocations: 1.213 MB / 0.8542 GB, free: 2.516 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00347/0.7677, allocations: 2.559 MB / 0.8567 GB, free: 2.508 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001427/0.7692, allocations: 1.046 MB / 0.8577 GB, free: 2.402 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002069/0.7713, allocations: 1.089 MB / 0.8588 GB, free: 2.398 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001809/0.7731, allocations: 0.8483 MB / 0.8596 GB, free: 2.395 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002038/0.7733, allocations: 110.5 kB / 0.8597 GB, free: 2.395 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003021/0.7763, allocations: 1.561 MB / 0.8613 GB, free: 2.383 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005825/0.7769, allocations: 0.4888 MB / 0.8617 GB, free: 2.375 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00085/0.7778, allocations: 0.6437 MB / 0.8624 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003126/0.7809, allocations: 2.183 MB / 0.8645 GB, free: 1.945 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.781, allocations: 6.469 kB / 0.8645 GB, free: 1.945 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.264e-06/0.781, allocations: 0.75 kB / 0.8645 GB, free: 1.945 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.587e-05/0.781, allocations: 0 / 0.8645 GB, free: 1.945 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.0025/0.7835, allocations: 1.517 MB / 0.866 GB, free: 1.148 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.7836, allocations: 10.06 kB / 0.866 GB, free: 1.148 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001548/0.7837, allocations: 146.8 kB / 0.8661 GB, free: 1.105 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002828/0.7866, allocations: 473.4 kB / 0.8666 GB, free: 1.039 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001396/0.788, allocations: 0.8564 MB / 0.8674 GB, free: 0.7148 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.579e-05/0.788, allocations: 64.84 kB / 0.8675 GB, free: 0.7109 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.7882, allocations: 89.53 kB / 0.8676 GB, free: 0.707 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002028/0.7902, allocations: 1.174 MB / 0.8687 GB, free: 0.6094 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/0.7903, allocations: 1.812 kB / 0.8687 GB, free: 0.6094 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.234e-05/0.7904, allocations: 37.75 kB / 0.8688 GB, free: 0.6094 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.447e-05/0.7904, allocations: 40.56 kB / 0.8688 GB, free: 0.6016 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002107/0.7925, allocations: 1.067 MB / 0.8698 GB, free: 0.5938 MB / 0.6387 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.007021/0.7996, allocations: 4.29 MB / 0.874 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001903/0.8015, allocations: 0.7531 MB / 0.8748 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008293/0.8023, allocations: 402.2 kB / 0.8751 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002045/0.8026, allocations: 98.64 kB / 0.8752 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.429e-05/0.8026, allocations: 47.66 kB / 0.8753 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=43): time 3.907e-06/0.8026, allocations: 0.7812 kB / 0.8753 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45): time 0.005616/0.8082, allocations: 2.175 MB / 0.8774 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/0.8083, allocations: 57.84 kB / 0.8775 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/0.8095, allocations: 0.8626 MB / 0.8783 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001041/0.8096, allocations: 37.98 kB / 0.8783 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004049/0.81, allocations: 498 kB / 0.8788 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001927/0.8102, allocations: 160.5 kB / 0.879 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002161/0.8105, allocations: 124 kB / 0.8791 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.8106, allocations: 331.9 kB / 0.8794 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008242/0.8114, allocations: 369.6 kB / 0.8798 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009491/0.8124, allocations: 0.5102 MB / 0.8803 GB, free: 13.13 MB / 0.6544 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.005555/0.818, allocations: 2.253 MB / 0.8825 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.818, allocations: 2.656 kB / 0.8825 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002086/0.8201, allocations: 0.9827 MB / 0.8834 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.8201, allocations: 7.703 kB / 0.8834 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.8201, allocations: 4.906 kB / 0.8834 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.8201, allocations: 5.875 kB / 0.8834 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008614/0.821, allocations: 192 kB / 0.8836 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/0.821, allocations: 11.81 kB / 0.8836 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009154/0.822, allocations: 72.34 kB / 0.8837 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-05/0.822, allocations: 24.27 kB / 0.8837 GB, free: 12.11 MB / 0.6544 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: 17 * 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 (73): * Single equations (assignments): 73 * 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.0004698/0.8225, allocations: 329.8 kB / 0.884 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001564/0.8227, allocations: 90.47 kB / 0.8841 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001991/0.8229, allocations: 107.3 kB / 0.8842 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.8229, allocations: 5.094 kB / 0.8842 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.8229, allocations: 0 / 0.8842 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001753/0.8247, allocations: 1.013 MB / 0.8852 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004115/0.8288, allocations: 2.147 MB / 0.8873 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.8288, allocations: 7.344 kB / 0.8873 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007776/0.8296, allocations: 166.9 kB / 0.8875 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.772e-06/0.8296, allocations: 5.031 kB / 0.8875 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.883e-05/0.8297, allocations: 18.03 kB / 0.8875 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.724e-06/0.8297, allocations: 16.64 kB / 0.8875 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.8297, allocations: 2.719 kB / 0.8875 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002696/0.8324, allocations: 1.449 MB / 0.8889 GB, free: 9.535 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004363/0.8328, allocations: 254.9 kB / 0.8892 GB, free: 9.355 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.833, allocations: 10.59 kB / 0.8892 GB, free: 9.352 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008048/0.8338, allocations: 68.64 kB / 0.8893 GB, free: 9.34 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.055e-05/0.8339, allocations: 42.12 kB / 0.8893 GB, free: 9.328 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.924e-05/0.8339, allocations: 30.92 kB / 0.8893 GB, free: 9.324 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007115/0.8347, allocations: 0.6056 MB / 0.8899 GB, free: 9.051 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8347, allocations: 0 / 0.8899 GB, free: 9.051 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008077/0.8355, allocations: 266.8 kB / 0.8902 GB, free: 9.027 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[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 (45): * Single equations (assignments): 45 * 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.00328/0.8388, allocations: 2.094 MB / 0.8922 GB, free: 7.586 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001873/0.8406, allocations: 0.8115 MB / 0.893 GB, free: 7.234 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.8407, allocations: 2.062 kB / 0.893 GB, free: 7.234 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009262/0.8416, allocations: 396.8 kB / 0.8934 GB, free: 7.066 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002359/0.844, allocations: 0.5808 MB / 0.894 GB, free: 6.777 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01436/0.8583, allocations: 8.171 MB / 0.9019 GB, free: 304 kB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007117/0.8591, allocations: 1.106 MB / 0.903 GB, free: 15.16 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001034/0.8601, allocations: 263.8 kB / 0.9033 GB, free: 14.9 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000547/0.8607, allocations: 355.3 kB / 0.9036 GB, free: 14.55 MB / 0.67 GB Notification: Performance of SimCode: time 1.011e-06/0.8607, allocations: 0 / 0.9036 GB, free: 14.55 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06389/0.9246, allocations: 28.76 MB / 0.9317 GB, free: 2.355 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.132/10.06, allocations: 12.64 kB / 0.9317 GB, free: 2.344 MB / 0.6856 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1)