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.001006/0.001006, allocations: 99 kB / 15.05 MB, free: 1.105 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.001463/0.001463, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.172/2.172, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.346/1.346, allocations: 132.3 MB / 423.2 MB, free: 2.184 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006208/0.000621, allocations: 11.94 kB / 0.5033 GB, free: 4.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.014/1.014, allocations: 81.57 MB / 0.583 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.3323/1.347, allocations: 158.2 MB / 0.7375 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01519/1.362, allocations: 5.62 MB / 0.743 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002461/1.365, allocations: 27.81 kB / 0.743 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003145/1.368, allocations: 0.5638 MB / 0.7436 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009528/1.377, allocations: 1.64 MB / 0.7452 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006123/1.383, allocations: 1.202 MB / 0.7463 GB, free: 8.938 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005289/1.389, allocations: 1.485 MB / 0.7478 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002067/1.391, allocations: 0.7537 MB / 0.7485 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002552/1.393, allocations: 0.7553 MB / 0.7493 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001104/1.395, allocations: 0.5447 MB / 0.7498 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001468/1.395, allocations: 40 kB / 0.7498 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003553/1.398, allocations: 0.9048 MB / 0.7507 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006635/1.399, allocations: 410.9 kB / 0.7511 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004931/1.399, allocations: 253.1 kB / 0.7513 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002852/1.402, allocations: 1.489 MB / 0.7528 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.402, allocations: 0 / 0.7528 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.376e-06/1.402, allocations: 0 / 0.7528 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.406e-05/1.402, allocations: 0 / 0.7528 GB, free: 2.281 MB / 0.5762 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.003502/1.406, allocations: 1.289 MB / 0.7541 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 7.397e-05/1.406, allocations: 8.031 kB / 0.7541 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002832/1.406, allocations: 147.3 kB / 0.7542 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004573/1.411, allocations: 0.4942 MB / 0.7547 GB, free: 292 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002784/1.414, allocations: 0.7857 MB / 0.7555 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005094/1.414, allocations: 133.9 kB / 0.7556 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002182/1.414, allocations: 84 kB / 0.7557 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003534/1.418, allocations: 1.194 MB / 0.7568 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.646e-05/1.418, allocations: 0 / 0.7568 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001543/1.418, allocations: 40 kB / 0.7569 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.588e-05/1.418, allocations: 34 kB / 0.7569 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003645/1.422, allocations: 1.105 MB / 0.758 GB, free: 12.85 MB / 0.5919 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.01242/1.434, allocations: 4.358 MB / 0.7622 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003002/1.437, allocations: 0.8066 MB / 0.763 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00011/1.438, allocations: 11.98 kB / 0.763 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.178e-05/1.438, allocations: 42.52 kB / 0.7631 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 4.719e-06/1.438, allocations: 3.938 kB / 0.7631 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.00951/1.447, allocations: 2.281 MB / 0.7653 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.703e-05/1.447, allocations: 55.41 kB / 0.7654 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001906/1.449, allocations: 0.8569 MB / 0.7662 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001465/1.45, allocations: 37.7 kB / 0.7662 GB, free: 4.039 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005934/1.45, allocations: 495.3 kB / 0.7667 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002893/1.45, allocations: 169.5 kB / 0.7669 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.569e-05/1.451, allocations: 8 kB / 0.7669 GB, free: 3.375 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001992/1.451, allocations: 330 kB / 0.7672 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001404/1.452, allocations: 397 kB / 0.7676 GB, free: 2.656 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001542/1.454, allocations: 0.5264 MB / 0.7681 GB, free: 2.078 MB / 0.5919 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.006321/1.46, allocations: 1.55 MB / 0.7696 GB, free: 0.5156 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/1.46, allocations: 0 / 0.7696 GB, free: 0.5156 MB / 0.5919 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.003759/1.464, allocations: 1.029 MB / 0.7706 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.863e-05/1.464, allocations: 4 kB / 0.7706 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.906e-05/1.464, allocations: 4 kB / 0.7706 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.619e-05/1.464, allocations: 11.98 kB / 0.7706 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001426/1.465, allocations: 215.8 kB / 0.7708 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.318e-05/1.465, allocations: 11.94 kB / 0.7708 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001952/1.467, allocations: 108.5 kB / 0.7709 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/1.468, allocations: 20 kB / 0.771 GB, free: 15.11 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 sytem: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001088/1.469, allocations: 326.2 kB / 0.7713 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003466/1.469, allocations: 102.8 kB / 0.7714 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003525/1.469, allocations: 100.8 kB / 0.7715 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/1.469, allocations: 4 kB / 0.7715 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.578e-05/1.469, allocations: 0 / 0.7715 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003284/1.473, allocations: 1.067 MB / 0.7725 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007597/1.48, allocations: 2.199 MB / 0.7747 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/1.48, allocations: 4 kB / 0.7747 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/1.482, allocations: 183.8 kB / 0.7748 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.071e-05/1.482, allocations: 8 kB / 0.7748 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.207e-05/1.482, allocations: 23.94 kB / 0.7749 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.278e-05/1.482, allocations: 8 kB / 0.7749 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/1.482, allocations: 4 kB / 0.7749 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005165/1.487, allocations: 1.65 MB / 0.7765 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001179/1.488, allocations: 259.9 kB / 0.7767 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002217/1.488, allocations: 19.98 kB / 0.7768 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001467/1.49, allocations: 109.3 kB / 0.7769 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/1.49, allocations: 39.91 kB / 0.7769 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001087/1.49, allocations: 27.98 kB / 0.7769 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001283/1.492, allocations: 0.5966 MB / 0.7775 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/1.492, allocations: 0 / 0.7775 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001564/1.493, allocations: 272 kB / 0.7778 GB, free: 7.801 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006376/1.499, allocations: 3.183 MB / 0.7809 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003187/1.503, allocations: 0.8546 MB / 0.7817 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/1.503, allocations: 4.188 kB / 0.7817 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001414/1.504, allocations: 420.5 kB / 0.7821 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004295/1.508, allocations: 0.5547 MB / 0.7827 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02127/1.53, allocations: 8.777 MB / 0.7912 GB, free: 9.645 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001102/1.531, allocations: 1.138 MB / 0.7923 GB, free: 8.48 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001909/1.533, allocations: 259.8 kB / 0.7926 GB, free: 8.223 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008262/1.534, allocations: 359.3 kB / 0.7929 GB, free: 7.871 MB / 0.6231 GB Notification: Performance of SimCode: time 2.064e-06/1.534, allocations: 0 / 0.7929 GB, free: 7.871 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6452/2.179, allocations: 28.15 MB / 0.8204 GB, free: 216.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000396/2.179, allocations: 264 kB / 0.8207 GB, free: 216.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.915/6.095, allocations: 0 / 0.8207 GB, free: 216.2 MB / 0.6387 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/linux/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) Environment - environmentSimulation: