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.001123/0.001123, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.407/1.407, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.981/0.981, allocations: 135.1 MB / 425.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 68.45 kB / 0.5054 GB, free: 5.199 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.14, allocations: 80.92 MB / 0.5845 GB, free: 4.438 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.4069/0.5469, allocations: 190.4 MB / 0.7705 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008918/0.5559, allocations: 5.694 MB / 0.776 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001729/0.5577, allocations: 47.75 kB / 0.7761 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00165/0.5593, allocations: 0.5591 MB / 0.7766 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003792/0.5632, allocations: 1.61 MB / 0.7782 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002975/0.5662, allocations: 1.199 MB / 0.7793 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003261/0.5694, allocations: 2.559 MB / 0.7818 GB, free: 2.707 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001543/0.571, allocations: 1.037 MB / 0.7829 GB, free: 1.652 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001935/0.5729, allocations: 1.047 MB / 0.7839 GB, free: 0.6016 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001828/0.5748, allocations: 0.8488 MB / 0.7847 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002616/0.5751, allocations: 108 kB / 0.7848 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003128/0.5782, allocations: 1.551 MB / 0.7863 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007011/0.5789, allocations: 0.4948 MB / 0.7868 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001169/0.5801, allocations: 0.6417 MB / 0.7874 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003461/0.5836, allocations: 2.162 MB / 0.7896 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.5836, allocations: 0 / 0.7896 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.044e-06/0.5836, allocations: 0 / 0.7896 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.316e-05/0.5837, allocations: 4 kB / 0.7896 GB, free: 10.78 MB / 0.6075 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.003083/0.5867, allocations: 1.527 MB / 0.791 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.5868, allocations: 12.02 kB / 0.7911 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002178/0.587, allocations: 139.3 kB / 0.7912 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003194/0.5902, allocations: 474 kB / 0.7916 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001575/0.5918, allocations: 0.8162 MB / 0.7924 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000363/0.5922, allocations: 133.8 kB / 0.7926 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001538/0.5924, allocations: 84 kB / 0.7926 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002364/0.5947, allocations: 1.183 MB / 0.7938 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/0.5948, allocations: 0 / 0.7938 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.5949, allocations: 36 kB / 0.7938 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.992e-05/0.5949, allocations: 38 kB / 0.7939 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002484/0.5974, allocations: 1.081 MB / 0.7949 GB, free: 5.152 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.007237/0.6047, allocations: 4.344 MB / 0.7992 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002166/0.6069, allocations: 0.77 MB / 0.7999 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009941/0.6079, allocations: 401.6 kB / 0.8003 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001931/0.6081, allocations: 101 kB / 0.8004 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.6081, allocations: 42.56 kB / 0.8004 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=43): time 2.635e-06/0.6081, allocations: 0 / 0.8004 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.006366/0.6145, allocations: 2.197 MB / 0.8026 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.6146, allocations: 63.41 kB / 0.8026 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.6157, allocations: 0.8686 MB / 0.8035 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.173e-05/0.6158, allocations: 33.7 kB / 0.8035 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003569/0.6162, allocations: 499.2 kB / 0.804 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001671/0.6163, allocations: 161.7 kB / 0.8042 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002234/0.6166, allocations: 130.1 kB / 0.8043 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.6167, allocations: 322 kB / 0.8046 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/0.6177, allocations: 377 kB / 0.8049 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/0.6188, allocations: 0.5223 MB / 0.8055 GB, free: 9.922 MB / 0.6231 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.006609/0.6255, allocations: 2.285 MB / 0.8077 GB, free: 7.57 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.6255, allocations: 0 / 0.8077 GB, free: 7.57 MB / 0.6231 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002508/0.628, allocations: 0.9938 MB / 0.8087 GB, free: 6.574 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.628, allocations: 6.188 kB / 0.8087 GB, free: 6.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.628, allocations: 4 kB / 0.8087 GB, free: 6.566 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/0.6281, allocations: 11.94 kB / 0.8087 GB, free: 6.555 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.6291, allocations: 195.8 kB / 0.8089 GB, free: 6.363 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.523e-05/0.6291, allocations: 8 kB / 0.8089 GB, free: 6.355 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/0.6302, allocations: 66.23 kB / 0.8089 GB, free: 6.293 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.221e-05/0.6303, allocations: 27.98 kB / 0.809 GB, free: 6.266 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.0004801/0.6308, allocations: 318.9 kB / 0.8093 GB, free: 5.945 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002026/0.631, allocations: 94.88 kB / 0.8094 GB, free: 5.852 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000218/0.6312, allocations: 100.8 kB / 0.8095 GB, free: 5.75 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.6312, allocations: 11.92 kB / 0.8095 GB, free: 5.738 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.6312, allocations: 4 kB / 0.8095 GB, free: 5.734 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002177/0.6334, allocations: 1.039 MB / 0.8105 GB, free: 4.609 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004889/0.6383, allocations: 2.16 MB / 0.8126 GB, free: 2.352 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.6383, allocations: 8.094 kB / 0.8126 GB, free: 2.344 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009372/0.6393, allocations: 163.7 kB / 0.8128 GB, free: 2.184 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.136e-05/0.6393, allocations: 7.984 kB / 0.8128 GB, free: 2.176 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.627e-05/0.6394, allocations: 16 kB / 0.8128 GB, free: 2.16 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/0.6394, allocations: 8 kB / 0.8128 GB, free: 2.152 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.6394, allocations: 3.938 kB / 0.8128 GB, free: 2.148 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003307/0.6427, allocations: 1.46 MB / 0.8142 GB, free: 0.6289 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004399/0.6431, allocations: 248 kB / 0.8145 GB, free: 376 kB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002031/0.6434, allocations: 12 kB / 0.8145 GB, free: 364 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/0.6444, allocations: 75.92 kB / 0.8145 GB, free: 288 kB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.684e-05/0.6445, allocations: 43.89 kB / 0.8146 GB, free: 244 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.688e-05/0.6446, allocations: 27.98 kB / 0.8146 GB, free: 216 kB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007715/0.6453, allocations: 0.6005 MB / 0.8152 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6454, allocations: 0 / 0.8152 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008511/0.6462, allocations: 268 kB / 0.8155 GB, free: 15.36 MB / 0.6387 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.003905/0.6501, allocations: 2.105 MB / 0.8175 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002357/0.6525, allocations: 0.8891 MB / 0.8184 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.6525, allocations: 0 / 0.8184 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001047/0.6536, allocations: 397 kB / 0.8188 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002605/0.6562, allocations: 0.5833 MB / 0.8193 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01526/0.6715, allocations: 8.564 MB / 0.8277 GB, free: 2.441 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007497/0.6722, allocations: 1.106 MB / 0.8288 GB, free: 1.309 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001056/0.6733, allocations: 255.8 kB / 0.829 GB, free: 1.055 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000601/0.6739, allocations: 359.3 kB / 0.8294 GB, free: 0.7031 MB / 0.6387 GB Notification: Performance of SimCode: time 8.81e-07/0.6739, allocations: 0 / 0.8294 GB, free: 0.7031 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05669/0.7306, allocations: 28.58 MB / 0.8573 GB, free: 4.578 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.9/8.63, allocations: 14.08 kB / 0.8573 GB, free: 4.57 MB / 0.67 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1)