Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IDEAS_dev_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.006889/0.006889, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001705/0.001705, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8264/0.8264, allocations: 135.1 MB / 425.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002182/0.002183, allocations: 65.53 kB / 0.5852 GB, free: 21.9 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1904, allocations: 80.92 MB / 0.6642 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.5853/0.7757, allocations: 190.5 MB / 0.8502 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009367/0.7851, allocations: 5.689 MB / 0.8557 GB, free: 8.984 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001526/0.7867, allocations: 40.91 kB / 0.8558 GB, free: 8.969 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001714/0.7884, allocations: 0.5665 MB / 0.8563 GB, free: 8.5 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004125/0.7926, allocations: 1.607 MB / 0.8579 GB, free: 7.246 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003221/0.7958, allocations: 1.213 MB / 0.8591 GB, free: 6.336 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003757/0.7996, allocations: 2.556 MB / 0.8616 GB, free: 4.879 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001919/0.8016, allocations: 1.036 MB / 0.8626 GB, free: 4.242 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002447/0.804, allocations: 1.066 MB / 0.8636 GB, free: 3.172 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002263/0.8063, allocations: 0.8475 MB / 0.8645 GB, free: 2.328 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0004117/0.8067, allocations: 111.9 kB / 0.8646 GB, free: 2.219 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003751/0.8105, allocations: 1.551 MB / 0.8661 GB, free: 0.6641 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000864/0.8114, allocations: 0.4909 MB / 0.8666 GB, free: 176 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001422/0.8128, allocations: 0.6456 MB / 0.8672 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004671/0.8175, allocations: 2.181 MB / 0.8693 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.8176, allocations: 4 kB / 0.8693 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8176, allocations: 0 / 0.8693 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.796e-05/0.8176, allocations: 0 / 0.8693 GB, free: 13.33 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.003387/0.821, allocations: 1.519 MB / 0.8708 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.8211, allocations: 9.109 kB / 0.8708 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002605/0.8213, allocations: 143.3 kB / 0.871 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003222/0.8246, allocations: 478.1 kB / 0.8714 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001873/0.8265, allocations: 0.8552 MB / 0.8723 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.878e-05/0.8265, allocations: 69.94 kB / 0.8723 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001711/0.8267, allocations: 84 kB / 0.8724 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002242/0.829, allocations: 1.171 MB / 0.8735 GB, free: 8.895 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.673e-05/0.829, allocations: 7.922 kB / 0.8736 GB, free: 8.887 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.953e-05/0.8291, allocations: 40 kB / 0.8736 GB, free: 8.848 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.365e-05/0.8292, allocations: 30 kB / 0.8736 GB, free: 8.816 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002318/0.8315, allocations: 1.066 MB / 0.8747 GB, free: 7.75 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.00738/0.8389, allocations: 4.301 MB / 0.8789 GB, free: 3.188 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001838/0.8408, allocations: 0.7558 MB / 0.8796 GB, free: 2.426 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008639/0.8416, allocations: 395.7 kB / 0.88 GB, free: 2.039 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001913/0.8419, allocations: 105.1 kB / 0.8801 GB, free: 1.918 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.8419, allocations: 42.56 kB / 0.8801 GB, free: 1.867 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=43): time 1.993e-06/0.8419, allocations: 0 / 0.8801 GB, free: 1.867 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45): time 0.005676/0.8476, allocations: 2.179 MB / 0.8822 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.8477, allocations: 55.41 kB / 0.8823 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.8488, allocations: 0.8724 MB / 0.8832 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.023e-05/0.8489, allocations: 37.7 kB / 0.8832 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003569/0.8493, allocations: 495.3 kB / 0.8837 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.00016/0.8494, allocations: 161.7 kB / 0.8838 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.8497, allocations: 122.2 kB / 0.8839 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.8498, allocations: 330 kB / 0.8842 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008785/0.8507, allocations: 365 kB / 0.8846 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009778/0.8517, allocations: 0.5153 MB / 0.8851 GB, free: 12.61 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.005831/0.8575, allocations: 2.254 MB / 0.8873 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.8575, allocations: 0 / 0.8873 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002253/0.8598, allocations: 0.9782 MB / 0.8883 GB, free: 9.301 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.8598, allocations: 8 kB / 0.8883 GB, free: 9.293 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.8598, allocations: 12.12 kB / 0.8883 GB, free: 9.281 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/0.8599, allocations: 15.88 kB / 0.8883 GB, free: 9.266 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009544/0.8608, allocations: 187.7 kB / 0.8885 GB, free: 9.082 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.717e-05/0.8609, allocations: 10.11 kB / 0.8885 GB, free: 9.074 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.862, allocations: 67.92 kB / 0.8885 GB, free: 9.008 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.926e-05/0.8621, allocations: 28 kB / 0.8886 GB, free: 8.98 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.0004986/0.8626, allocations: 309.5 kB / 0.8889 GB, free: 8.668 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002317/0.8628, allocations: 94.88 kB / 0.889 GB, free: 8.574 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002512/0.8631, allocations: 100.8 kB / 0.8891 GB, free: 8.469 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.8631, allocations: 19.86 kB / 0.8891 GB, free: 8.449 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.8631, allocations: 4 kB / 0.8891 GB, free: 8.445 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001873/0.865, allocations: 1.026 MB / 0.8901 GB, free: 7.332 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004691/0.8697, allocations: 2.137 MB / 0.8922 GB, free: 5.094 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.8697, allocations: 4 kB / 0.8922 GB, free: 5.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008654/0.8706, allocations: 171.8 kB / 0.8923 GB, free: 4.922 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.347e-06/0.8706, allocations: 4 kB / 0.8923 GB, free: 4.918 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.587e-05/0.8707, allocations: 12 kB / 0.8923 GB, free: 4.906 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.689e-06/0.8707, allocations: 7.984 kB / 0.8924 GB, free: 4.898 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.8707, allocations: 11.88 kB / 0.8924 GB, free: 4.887 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002926/0.8736, allocations: 1.434 MB / 0.8938 GB, free: 3.398 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005304/0.8742, allocations: 255.9 kB / 0.894 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000195/0.8744, allocations: 12 kB / 0.894 GB, free: 3.117 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009479/0.8754, allocations: 68.86 kB / 0.8941 GB, free: 3.051 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.794e-05/0.8755, allocations: 47.83 kB / 0.8941 GB, free: 3.004 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.546e-05/0.8755, allocations: 31.92 kB / 0.8942 GB, free: 2.973 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008255/0.8764, allocations: 0.6005 MB / 0.8947 GB, free: 2.379 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8764, allocations: 0 / 0.8947 GB, free: 2.379 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009803/0.8774, allocations: 267.9 kB / 0.895 GB, free: 2.117 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.003614/0.881, allocations: 2.093 MB / 0.897 GB, free: 15.96 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00199/0.883, allocations: 0.8188 MB / 0.8978 GB, free: 15.14 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.883, allocations: 0 / 0.8978 GB, free: 15.14 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008753/0.8839, allocations: 393 kB / 0.8982 GB, free: 14.76 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002651/0.8866, allocations: 0.5694 MB / 0.8988 GB, free: 14.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01473/0.9013, allocations: 8.169 MB / 0.9068 GB, free: 5.719 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007636/0.9021, allocations: 1.114 MB / 0.9078 GB, free: 4.578 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009273/0.9031, allocations: 255.8 kB / 0.9081 GB, free: 4.324 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005625/0.9036, allocations: 362.5 kB / 0.9084 GB, free: 3.973 MB / 0.67 GB Notification: Performance of SimCode: time 6.61e-07/0.9037, allocations: 0 / 0.9084 GB, free: 3.973 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05414/0.9578, allocations: 29.24 MB / 0.937 GB, free: 7.16 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.371/10.33, allocations: 448 / 0.937 GB, free: 7.16 MB / 0.7012 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1)