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.001035/0.001035, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001085/0.001085, allocations: 192.7 kB / 16.13 MB, free: 6.707 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.269/1.269, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7203/0.7203, allocations: 132.2 MB / 422.1 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 63.69 kB / 0.5012 GB, free: 9.141 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1435, allocations: 80.21 MB / 0.5795 GB, free: 9.156 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.4001/0.5436, allocations: 188.2 MB / 0.7633 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008354/0.552, allocations: 5.763 MB / 0.7689 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008896/0.5529, allocations: 39.75 kB / 0.769 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001252/0.5542, allocations: 0.4896 MB / 0.7694 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003168/0.5574, allocations: 1.513 MB / 0.7709 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002514/0.5599, allocations: 1.094 MB / 0.772 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00323/0.5631, allocations: 3.523 MB / 0.7754 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001043/0.5642, allocations: 0.886 MB / 0.7763 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001437/0.5656, allocations: 0.9141 MB / 0.7772 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001522/0.5672, allocations: 0.8773 MB / 0.778 GB, free: 8 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001388/0.5673, allocations: 56 kB / 0.7781 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002782/0.5701, allocations: 1.73 MB / 0.7798 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000437/0.5706, allocations: 462.7 kB / 0.7802 GB, free: 5.758 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006269/0.5712, allocations: 0.5869 MB / 0.7808 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002779/0.574, allocations: 2.201 MB / 0.7829 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.574, allocations: 0 / 0.7829 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.185e-06/0.574, allocations: 0 / 0.7829 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.519e-05/0.574, allocations: 3.938 kB / 0.783 GB, free: 2.957 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002388/0.5764, allocations: 1.517 MB / 0.7844 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.5765, allocations: 12.03 kB / 0.7844 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001716/0.5766, allocations: 147.2 kB / 0.7846 GB, free: 1.223 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003108/0.5798, allocations: 466.1 kB / 0.785 GB, free: 0.7656 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001368/0.5811, allocations: 0.8238 MB / 0.7858 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003667/0.5815, allocations: 129.9 kB / 0.786 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.5817, allocations: 84 kB / 0.786 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002189/0.5839, allocations: 1.179 MB / 0.7872 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.5839, allocations: 0 / 0.7872 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.864e-05/0.584, allocations: 40 kB / 0.7872 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.211e-05/0.584, allocations: 37.98 kB / 0.7873 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002329/0.5864, allocations: 1.077 MB / 0.7883 GB, free: 13.34 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.006474/0.5929, allocations: 4.333 MB / 0.7925 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001919/0.5948, allocations: 0.7599 MB / 0.7933 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009102/0.5957, allocations: 408.6 kB / 0.7937 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001749/0.5959, allocations: 105.1 kB / 0.7938 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.5959, allocations: 42.55 kB / 0.7938 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 3.287e-06/0.596, allocations: 0 / 0.7938 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.005516/0.6015, allocations: 2.213 MB / 0.796 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.6015, allocations: 55.41 kB / 0.796 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009558/0.6025, allocations: 0.8686 MB / 0.7969 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.87e-05/0.6026, allocations: 37.7 kB / 0.7969 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003178/0.6029, allocations: 491.3 kB / 0.7974 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.603, allocations: 161.7 kB / 0.7975 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002121/0.6032, allocations: 126.1 kB / 0.7977 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.864e-05/0.6033, allocations: 334 kB / 0.798 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009121/0.6043, allocations: 369 kB / 0.7983 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001009/0.6053, allocations: 0.5208 MB / 0.7988 GB, free: 2.109 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.005812/0.6111, allocations: 2.28 MB / 0.8011 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.6111, allocations: 4 kB / 0.8011 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002199/0.6133, allocations: 0.9937 MB / 0.802 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.6134, allocations: 8 kB / 0.802 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.6134, allocations: 4 kB / 0.8021 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.6134, allocations: 11.94 kB / 0.8021 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009146/0.6143, allocations: 191.8 kB / 0.8022 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.6143, allocations: 11.94 kB / 0.8023 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.6154, allocations: 102.9 kB / 0.8024 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.868e-05/0.6154, allocations: 24 kB / 0.8024 GB, free: 14.42 MB / 0.6231 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.0004091/0.6158, allocations: 317.5 kB / 0.8027 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/0.616, allocations: 94.88 kB / 0.8028 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000195/0.6162, allocations: 108.7 kB / 0.8029 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-06/0.6162, allocations: 7.938 kB / 0.8029 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.6162, allocations: 0 / 0.8029 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001857/0.6181, allocations: 1.03 MB / 0.8039 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004211/0.6223, allocations: 2.156 MB / 0.806 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.6223, allocations: 4 kB / 0.806 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008424/0.6232, allocations: 167.8 kB / 0.8062 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.347e-05/0.6232, allocations: 11.94 kB / 0.8062 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.488e-05/0.6232, allocations: 11.94 kB / 0.8062 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.181e-06/0.6233, allocations: 11.98 kB / 0.8062 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.6233, allocations: 7.938 kB / 0.8062 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00296/0.6262, allocations: 1.453 MB / 0.8076 GB, free: 8.797 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003609/0.6266, allocations: 255.9 kB / 0.8079 GB, free: 8.527 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/0.6267, allocations: 12 kB / 0.8079 GB, free: 8.516 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009596/0.6277, allocations: 105.7 kB / 0.808 GB, free: 8.414 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.378e-05/0.6278, allocations: 35.84 kB / 0.808 GB, free: 8.379 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.908e-05/0.6279, allocations: 31.97 kB / 0.808 GB, free: 8.348 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007568/0.6286, allocations: 0.6044 MB / 0.8086 GB, free: 7.746 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6287, allocations: 0 / 0.8086 GB, free: 7.746 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008354/0.6295, allocations: 271.9 kB / 0.8089 GB, free: 7.48 MB / 0.6231 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.003528/0.633, allocations: 2.099 MB / 0.8109 GB, free: 5.32 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002015/0.6351, allocations: 0.8124 MB / 0.8117 GB, free: 4.508 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/0.6351, allocations: 12 kB / 0.8117 GB, free: 4.496 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009296/0.636, allocations: 393.1 kB / 0.8121 GB, free: 4.113 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002402/0.6384, allocations: 0.555 MB / 0.8127 GB, free: 3.574 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.015/0.6534, allocations: 8.871 MB / 0.8213 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007093/0.6542, allocations: 1.11 MB / 0.8224 GB, free: 9.211 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001027/0.6552, allocations: 267.7 kB / 0.8227 GB, free: 8.945 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005223/0.6557, allocations: 355.3 kB / 0.823 GB, free: 8.598 MB / 0.6387 GB Notification: Performance of SimCode: time 6.61e-07/0.6558, allocations: 0 / 0.823 GB, free: 8.598 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04251/0.6983, allocations: 27.67 MB / 0.85 GB, free: 13.43 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002202/0.6985, allocations: 297.8 kB / 0.8503 GB, free: 13.04 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.379/3.077, allocations: 0 / 0.8503 GB, free: 13.04 MB / 0.67 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)