Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.MixingVolumeHeatReverseFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",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.00856/0.00856, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001909/0.001909, allocations: 192.6 kB / 16.67 MB, free: 5.969 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.291/1.291, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7524/0.7524, allocations: 132.2 MB / 422.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 70.45 kB / 0.5809 GB, free: 24.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1429, allocations: 80.21 MB / 0.6592 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.535/0.6779, allocations: 190.6 MB / 0.8453 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008727/0.6866, allocations: 5.713 MB / 0.8509 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001214/0.6879, allocations: 43.22 kB / 0.8509 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001412/0.6893, allocations: 0.6034 MB / 0.8515 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004387/0.6937, allocations: 1.898 MB / 0.8534 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003109/0.6969, allocations: 1.197 MB / 0.8545 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003452/0.7003, allocations: 2.951 MB / 0.8574 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001161/0.7015, allocations: 0.9569 MB / 0.8584 GB, free: 9.469 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001745/0.7033, allocations: 1.104 MB / 0.8594 GB, free: 8.82 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001613/0.7049, allocations: 0.9121 MB / 0.8603 GB, free: 8.285 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001596/0.7051, allocations: 106.3 kB / 0.8604 GB, free: 8.203 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002775/0.7078, allocations: 1.438 MB / 0.8618 GB, free: 6.762 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004403/0.7083, allocations: 458.8 kB / 0.8623 GB, free: 6.312 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007264/0.709, allocations: 0.6495 MB / 0.8629 GB, free: 5.66 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003008/0.712, allocations: 2.148 MB / 0.865 GB, free: 3.508 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.7121, allocations: 0 / 0.865 GB, free: 3.508 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.324e-06/0.7121, allocations: 4 kB / 0.865 GB, free: 3.504 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.905e-05/0.7121, allocations: 0 / 0.865 GB, free: 3.504 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002418/0.7145, allocations: 1.552 MB / 0.8665 GB, free: 1.898 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.7146, allocations: 12.03 kB / 0.8665 GB, free: 1.887 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001643/0.7147, allocations: 139.2 kB / 0.8667 GB, free: 1.742 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001945/0.7167, allocations: 323 kB / 0.867 GB, free: 1.426 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.7181, allocations: 0.8609 MB / 0.8678 GB, free: 0.5234 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.39e-05/0.7182, allocations: 69.92 kB / 0.8679 GB, free: 464 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.7183, allocations: 84 kB / 0.868 GB, free: 380 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/0.7198, allocations: 0.9053 MB / 0.8689 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/0.7199, allocations: 4 kB / 0.8689 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.72, allocations: 32 kB / 0.8689 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.283e-05/0.72, allocations: 45.92 kB / 0.8689 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/0.7214, allocations: 0.8159 MB / 0.8697 GB, free: 14.56 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.005317/0.7268, allocations: 3.514 MB / 0.8732 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007348/0.7275, allocations: 0.4927 MB / 0.8736 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004344/0.728, allocations: 298.5 kB / 0.8739 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001744/0.7281, allocations: 101.5 kB / 0.874 GB, free: 9.914 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.7282, allocations: 51 kB / 0.8741 GB, free: 9.855 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=47): time 2.144e-06/0.7282, allocations: 4 kB / 0.8741 GB, free: 9.852 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49): time 0.003928/0.7321, allocations: 1.928 MB / 0.876 GB, free: 7.824 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.7322, allocations: 55.84 kB / 0.876 GB, free: 7.758 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009854/0.7332, allocations: 0.8136 MB / 0.8768 GB, free: 6.934 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.918e-05/0.7332, allocations: 37.7 kB / 0.8768 GB, free: 6.891 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000335/0.7336, allocations: 484.3 kB / 0.8773 GB, free: 6.41 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001442/0.7337, allocations: 178.4 kB / 0.8775 GB, free: 6.234 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001759/0.7339, allocations: 118.2 kB / 0.8776 GB, free: 6.113 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.734, allocations: 326 kB / 0.8779 GB, free: 5.789 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000481/0.7345, allocations: 245.2 kB / 0.8781 GB, free: 5.551 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000513/0.735, allocations: 371 kB / 0.8785 GB, free: 5.145 MB / 0.6387 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.003502/0.7386, allocations: 1.522 MB / 0.88 GB, free: 3.566 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.7386, allocations: 0 / 0.88 GB, free: 3.566 MB / 0.6387 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001312/0.7399, allocations: 0.7888 MB / 0.8807 GB, free: 2.762 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.7399, allocations: 10.19 kB / 0.8808 GB, free: 2.754 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.7399, allocations: 4.344 kB / 0.8808 GB, free: 2.75 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002793/0.7402, allocations: 93.59 kB / 0.8808 GB, free: 2.652 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006425/0.7409, allocations: 143.8 kB / 0.881 GB, free: 2.512 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002854/0.7437, allocations: 3.306 MB / 0.8842 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008071/0.7446, allocations: 32.88 kB / 0.8842 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-05/0.7446, allocations: 28 kB / 0.8843 GB, free: 14.86 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: 12 * 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004471/0.7451, allocations: 298.5 kB / 0.8846 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.7452, allocations: 99.42 kB / 0.8846 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001634/0.7454, allocations: 100.7 kB / 0.8847 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.7454, allocations: 4 kB / 0.8847 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.7454, allocations: 7.938 kB / 0.8848 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00102/0.7464, allocations: 0.8427 MB / 0.8856 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002734/0.7492, allocations: 1.788 MB / 0.8873 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.7492, allocations: 8.031 kB / 0.8873 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005935/0.7498, allocations: 131.8 kB / 0.8875 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002229/0.75, allocations: 64.81 kB / 0.8875 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.578e-05/0.7501, allocations: 16 kB / 0.8875 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001596/0.7517, allocations: 1.789 MB / 0.8893 GB, free: 9.402 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/0.7517, allocations: 7.938 kB / 0.8893 GB, free: 9.395 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001537/0.7532, allocations: 1.112 MB / 0.8904 GB, free: 8.219 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004085/0.7537, allocations: 236.5 kB / 0.8906 GB, free: 7.969 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.7538, allocations: 12 kB / 0.8906 GB, free: 7.957 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006773/0.7545, allocations: 30.8 kB / 0.8906 GB, free: 7.93 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.7546, allocations: 43.94 kB / 0.8907 GB, free: 7.887 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.389e-05/0.7547, allocations: 35.92 kB / 0.8907 GB, free: 7.852 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007125/0.7554, allocations: 0.5576 MB / 0.8913 GB, free: 7.297 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7554, allocations: 0 / 0.8913 GB, free: 7.297 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008944/0.7563, allocations: 283.9 kB / 0.8915 GB, free: 7.02 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[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): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002226/0.7585, allocations: 1.725 MB / 0.8932 GB, free: 5.23 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001335/0.7599, allocations: 0.8118 MB / 0.894 GB, free: 4.398 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.7599, allocations: 4 kB / 0.894 GB, free: 4.395 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005668/0.7605, allocations: 414.2 kB / 0.8944 GB, free: 3.977 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002555/0.763, allocations: 0.6167 MB / 0.895 GB, free: 3.391 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009269/0.7723, allocations: 6.995 MB / 0.9018 GB, free: 12.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007028/0.773, allocations: 1.091 MB / 0.9029 GB, free: 10.98 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000793/0.7738, allocations: 211.7 kB / 0.9031 GB, free: 10.77 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004641/0.7743, allocations: 351.2 kB / 0.9034 GB, free: 10.43 MB / 0.67 GB Notification: Performance of SimCode: time 1.272e-06/0.7743, allocations: 0 / 0.9034 GB, free: 10.43 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05751/0.8318, allocations: 28.07 MB / 0.9309 GB, free: 14.72 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/13.04, allocations: 4.984 kB / 0.9309 GB, free: 14.72 MB / 0.7012 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.004 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)