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.00517/0.005171, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001172/0.001172, allocations: 197 kB / 16.68 MB, free: 5.926 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.267/1.267, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.749/0.749, allocations: 135.1 MB / 425.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 64.03 kB / 0.5852 GB, free: 21.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1528, allocations: 80.93 MB / 0.6642 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.5651/0.718, allocations: 190.5 MB / 0.8502 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009833/0.7278, allocations: 5.685 MB / 0.8557 GB, free: 9.047 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001406/0.7293, allocations: 41.66 kB / 0.8558 GB, free: 9.031 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001617/0.7309, allocations: 0.5683 MB / 0.8563 GB, free: 8.562 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004755/0.7357, allocations: 1.601 MB / 0.8579 GB, free: 7.312 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003241/0.7389, allocations: 1.225 MB / 0.8591 GB, free: 6.395 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003156/0.7421, allocations: 2.544 MB / 0.8616 GB, free: 4.949 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001268/0.7434, allocations: 1.037 MB / 0.8626 GB, free: 4.328 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001714/0.7451, allocations: 1.065 MB / 0.8636 GB, free: 3.367 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001458/0.7466, allocations: 0.8547 MB / 0.8645 GB, free: 2.516 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000143/0.7467, allocations: 111.9 kB / 0.8646 GB, free: 2.406 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002706/0.7494, allocations: 1.551 MB / 0.8661 GB, free: 0.8516 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004474/0.7499, allocations: 0.4909 MB / 0.8666 GB, free: 368 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006137/0.7505, allocations: 0.6417 MB / 0.8672 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002557/0.7531, allocations: 2.181 MB / 0.8693 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.7531, allocations: 0 / 0.8693 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of FrontEnd: time 4.057e-06/0.7531, allocations: 4 kB / 0.8693 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.595e-05/0.7531, allocations: 3.938 kB / 0.8693 GB, free: 13.52 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.002235/0.7554, allocations: 1.511 MB / 0.8708 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.7554, allocations: 13.11 kB / 0.8708 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001632/0.7556, allocations: 139.3 kB / 0.871 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002789/0.7584, allocations: 471 kB / 0.8714 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001546/0.7599, allocations: 0.8629 MB / 0.8723 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.693e-05/0.76, allocations: 73.94 kB / 0.8723 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.7602, allocations: 84 kB / 0.8724 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002088/0.7622, allocations: 1.175 MB / 0.8735 GB, free: 9.082 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.7623, allocations: 0 / 0.8735 GB, free: 9.082 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.575e-05/0.7624, allocations: 36 kB / 0.8736 GB, free: 9.047 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.48e-05/0.7624, allocations: 37.98 kB / 0.8736 GB, free: 9.008 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002255/0.7647, allocations: 1.066 MB / 0.8747 GB, free: 7.941 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.00673/0.7714, allocations: 4.304 MB / 0.8789 GB, free: 3.375 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001837/0.7733, allocations: 0.7557 MB / 0.8796 GB, free: 2.613 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000918/0.7742, allocations: 396.6 kB / 0.88 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001924/0.7744, allocations: 97.09 kB / 0.8801 GB, free: 2.109 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.7744, allocations: 46.56 kB / 0.8801 GB, free: 2.055 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=43): time 2.284e-06/0.7745, allocations: 0 / 0.8801 GB, free: 2.055 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45): time 0.005606/0.7801, allocations: 2.183 MB / 0.8822 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.7801, allocations: 55.41 kB / 0.8823 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009871/0.7811, allocations: 0.8647 MB / 0.8831 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.035e-05/0.7812, allocations: 41.7 kB / 0.8832 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003226/0.7815, allocations: 491.3 kB / 0.8837 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.7817, allocations: 157.8 kB / 0.8838 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002073/0.7819, allocations: 126.1 kB / 0.8839 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.782, allocations: 334 kB / 0.8842 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008952/0.7829, allocations: 369 kB / 0.8846 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009988/0.7839, allocations: 0.5109 MB / 0.8851 GB, free: 12.8 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.005836/0.7897, allocations: 2.25 MB / 0.8873 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.7898, allocations: 0 / 0.8873 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002271/0.792, allocations: 0.9859 MB / 0.8883 GB, free: 9.488 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.7921, allocations: 8 kB / 0.8883 GB, free: 9.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.7921, allocations: 4 kB / 0.8883 GB, free: 9.477 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/0.7921, allocations: 15.88 kB / 0.8883 GB, free: 9.461 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009007/0.793, allocations: 187.8 kB / 0.8885 GB, free: 9.277 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-05/0.793, allocations: 8 kB / 0.8885 GB, free: 9.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009295/0.794, allocations: 73.7 kB / 0.8885 GB, free: 9.199 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.994e-05/0.7941, allocations: 28 kB / 0.8886 GB, free: 9.172 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.0004963/0.7946, allocations: 313.5 kB / 0.8889 GB, free: 8.855 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/0.7947, allocations: 90.97 kB / 0.889 GB, free: 8.766 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002243/0.7949, allocations: 100.8 kB / 0.889 GB, free: 8.66 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.795, allocations: 11.88 kB / 0.8891 GB, free: 8.648 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.795, allocations: 0 / 0.8891 GB, free: 8.648 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002008/0.797, allocations: 1.03 MB / 0.8901 GB, free: 7.531 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004629/0.8016, allocations: 2.144 MB / 0.8922 GB, free: 5.285 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.8016, allocations: 4 kB / 0.8922 GB, free: 5.281 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008535/0.8025, allocations: 164.2 kB / 0.8923 GB, free: 5.121 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.034e-05/0.8025, allocations: 12 kB / 0.8923 GB, free: 5.109 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.917e-05/0.8026, allocations: 12 kB / 0.8923 GB, free: 5.098 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.064e-05/0.8026, allocations: 9.547 kB / 0.8924 GB, free: 5.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/0.8026, allocations: 15.88 kB / 0.8924 GB, free: 5.074 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003189/0.8058, allocations: 1.434 MB / 0.8938 GB, free: 3.586 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005822/0.8064, allocations: 255.9 kB / 0.894 GB, free: 3.316 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/0.8066, allocations: 12.09 kB / 0.894 GB, free: 3.305 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009209/0.8075, allocations: 68.86 kB / 0.8941 GB, free: 3.238 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.8076, allocations: 51.81 kB / 0.8941 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.933e-05/0.8077, allocations: 23.98 kB / 0.8942 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000823/0.8085, allocations: 0.6044 MB / 0.8947 GB, free: 2.566 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.11e-07/0.8085, allocations: 0 / 0.8947 GB, free: 2.566 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008806/0.8094, allocations: 264 kB / 0.895 GB, free: 2.309 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.003902/0.8133, allocations: 2.094 MB / 0.897 GB, free: 164 kB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00211/0.8155, allocations: 0.8193 MB / 0.8978 GB, free: 15.34 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.8155, allocations: 8.25 kB / 0.8979 GB, free: 15.33 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009451/0.8164, allocations: 384.3 kB / 0.8982 GB, free: 14.96 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002679/0.8191, allocations: 0.5745 MB / 0.8988 GB, free: 14.39 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01451/0.8337, allocations: 8.163 MB / 0.9068 GB, free: 5.91 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007805/0.8345, allocations: 1.114 MB / 0.9078 GB, free: 4.77 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009156/0.8354, allocations: 263.8 kB / 0.9081 GB, free: 4.508 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005472/0.836, allocations: 355.3 kB / 0.9084 GB, free: 4.16 MB / 0.67 GB Notification: Performance of SimCode: time 6.61e-07/0.836, allocations: 0 / 0.9084 GB, free: 4.16 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05776/0.8937, allocations: 29.23 MB / 0.937 GB, free: 7.355 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.43/10.32, allocations: 448 / 0.937 GB, free: 7.355 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)