Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",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.00123/0.00123, allocations: 112.5 kB / 15.73 MB, free: 76 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.001203/0.001203, allocations: 192.8 kB / 16.67 MB, free: 6.57 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.771/0.771, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 67.89 kB / 0.5809 GB, free: 8.066 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3408, allocations: 80.2 MB / 0.6592 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2081/0.549, allocations: 187.3 MB / 0.8421 GB, free: 10.26 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01704/0.5661, allocations: 13.07 MB / 0.8548 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009965/0.5671, allocations: 31.81 kB / 0.8549 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001352/0.5685, allocations: 417.2 kB / 0.8553 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002929/0.5714, allocations: 1.159 MB / 0.8564 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001826/0.5733, allocations: 0.7123 MB / 0.8571 GB, free: 10.85 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002739/0.576, allocations: 2.012 MB / 0.8591 GB, free: 8.828 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001301/0.5773, allocations: 0.8472 MB / 0.8599 GB, free: 7.961 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003873/0.5812, allocations: 1.806 MB / 0.8617 GB, free: 6.148 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001625/0.5829, allocations: 0.6599 MB / 0.8623 GB, free: 5.492 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001724/0.583, allocations: 80 kB / 0.8624 GB, free: 5.414 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001786/0.5848, allocations: 0.8731 MB / 0.8632 GB, free: 4.539 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004347/0.5853, allocations: 383 kB / 0.8636 GB, free: 4.164 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005888/0.5859, allocations: 0.5015 MB / 0.8641 GB, free: 3.66 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002078/0.588, allocations: 1.502 MB / 0.8655 GB, free: 2.152 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.588, allocations: 0 / 0.8655 GB, free: 2.152 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.322e-06/0.588, allocations: 0 / 0.8655 GB, free: 2.152 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.588, allocations: 0 / 0.8655 GB, free: 2.152 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001891/0.5899, allocations: 1.276 MB / 0.8668 GB, free: 0.8203 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.5899, allocations: 8.031 kB / 0.8668 GB, free: 0.8125 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000147/0.5901, allocations: 126.5 kB / 0.8669 GB, free: 0.6797 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001176/0.5913, allocations: 215.2 kB / 0.8671 GB, free: 480 kB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2585/0.8498, allocations: 0.6812 MB / 0.8678 GB, free: 197.7 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.593e-05/0.8499, allocations: 59.73 kB / 0.8678 GB, free: 197.7 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.8501, allocations: 77.53 kB / 0.8679 GB, free: 197.7 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/0.8514, allocations: 0.9315 MB / 0.8688 GB, free: 197.3 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.641e-05/0.8515, allocations: 5.844 kB / 0.8688 GB, free: 197.3 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.429e-05/0.8515, allocations: 33.08 kB / 0.8689 GB, free: 197.2 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.362e-05/0.8516, allocations: 28.69 kB / 0.8689 GB, free: 197.2 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009473/0.8525, allocations: 0.6142 MB / 0.8695 GB, free: 197 MB / 0.6856 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.003536/0.8561, allocations: 4.58 MB / 0.874 GB, free: 193.4 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006818/0.8568, allocations: 0.536 MB / 0.8745 GB, free: 193.1 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003342/0.8571, allocations: 249.7 kB / 0.8747 GB, free: 193 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001622/0.8573, allocations: 101.9 kB / 0.8748 GB, free: 192.9 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.8573, allocations: 40.45 kB / 0.8749 GB, free: 192.9 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=43): time 2.485e-06/0.8573, allocations: 0 / 0.8749 GB, free: 192.9 MB / 0.6856 GB Notification: Performance of matching and sorting (n=45): time 0.002491/0.8598, allocations: 1.622 MB / 0.8765 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/0.8599, allocations: 108.4 kB / 0.8766 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008286/0.8607, allocations: 0.7136 MB / 0.8773 GB, free: 191.5 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/0.8607, allocations: 41.27 kB / 0.8773 GB, free: 191.4 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002394/0.861, allocations: 424.3 kB / 0.8777 GB, free: 191.1 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.8611, allocations: 165.3 kB / 0.8779 GB, free: 191 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/0.8613, allocations: 122.6 kB / 0.878 GB, free: 191 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 5.275e-05/0.8613, allocations: 327.3 kB / 0.8783 GB, free: 190.7 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003068/0.8616, allocations: 188 kB / 0.8785 GB, free: 190.6 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004117/0.8621, allocations: 419.8 kB / 0.8789 GB, free: 190.3 MB / 0.6856 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002146/0.8642, allocations: 1.166 MB / 0.88 GB, free: 189.6 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.8642, allocations: 1.938 kB / 0.88 GB, free: 189.6 MB / 0.6856 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001153/0.8654, allocations: 0.6616 MB / 0.8806 GB, free: 189.3 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.8654, allocations: 12.41 kB / 0.8807 GB, free: 189.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.8654, allocations: 9.906 kB / 0.8807 GB, free: 189.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.059e-05/0.8655, allocations: 10.58 kB / 0.8807 GB, free: 189.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004916/0.866, allocations: 134.3 kB / 0.8808 GB, free: 189.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.805e-05/0.866, allocations: 17.06 kB / 0.8808 GB, free: 189.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005225/0.8665, allocations: 28.17 kB / 0.8808 GB, free: 189.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.069e-05/0.8666, allocations: 26.66 kB / 0.8809 GB, free: 189.3 MB / 0.6856 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0003109/0.8669, allocations: 276.2 kB / 0.8811 GB, free: 189.1 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.8671, allocations: 87.83 kB / 0.8812 GB, free: 189.1 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001505/0.8672, allocations: 89.78 kB / 0.8813 GB, free: 189 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.8672, allocations: 4.625 kB / 0.8813 GB, free: 189 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.8672, allocations: 6.484 kB / 0.8813 GB, free: 189 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005465/0.8678, allocations: 0.7101 MB / 0.882 GB, free: 188.4 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00191/0.8697, allocations: 1.637 MB / 0.8836 GB, free: 187.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.8697, allocations: 7.344 kB / 0.8836 GB, free: 187.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004322/0.8702, allocations: 99.2 kB / 0.8837 GB, free: 187.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.8702, allocations: 13.36 kB / 0.8837 GB, free: 187.3 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.093e-05/0.8702, allocations: 11.91 kB / 0.8837 GB, free: 187.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/0.8702, allocations: 11.91 kB / 0.8837 GB, free: 187.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.8702, allocations: 8.031 kB / 0.8838 GB, free: 187.3 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008987/0.8712, allocations: 0.8985 MB / 0.8846 GB, free: 186.7 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002047/0.8714, allocations: 214.4 kB / 0.8848 GB, free: 186.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.603e-05/0.8715, allocations: 15.31 kB / 0.8849 GB, free: 186.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004191/0.8719, allocations: 22.89 kB / 0.8849 GB, free: 186.5 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.86e-05/0.872, allocations: 40.06 kB / 0.8849 GB, free: 186.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.401e-05/0.872, allocations: 26.11 kB / 0.8849 GB, free: 186.5 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005032/0.8725, allocations: 0.5036 MB / 0.8854 GB, free: 186.2 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8725, allocations: 0 / 0.8854 GB, free: 186.2 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0006554/0.8732, allocations: 208.4 kB / 0.8856 GB, free: 186.1 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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.001354/0.8745, allocations: 1.525 MB / 0.8871 GB, free: 185 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0006958/0.8752, allocations: 483.8 kB / 0.8876 GB, free: 184.8 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.8753, allocations: 1.125 kB / 0.8876 GB, free: 184.8 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002512/0.8755, allocations: 211.2 kB / 0.8878 GB, free: 184.7 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001925/0.8774, allocations: 481.7 kB / 0.8882 GB, free: 184.5 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006774/0.8842, allocations: 6.637 MB / 0.8947 GB, free: 180 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004094/0.8847, allocations: 1.029 MB / 0.8957 GB, free: 179.1 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0006044/0.8853, allocations: 195.7 kB / 0.8959 GB, free: 179 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003101/0.8856, allocations: 299.9 kB / 0.8962 GB, free: 178.8 MB / 0.6856 GB Notification: Performance of SimCode: time 4.31e-07/0.8856, allocations: 0 / 0.8962 GB, free: 178.8 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04534/0.931, allocations: 22.24 MB / 0.9179 GB, free: 164.8 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.019/9.95, allocations: 7.641 kB / 0.9179 GB, free: 164.8 MB / 0.6856 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)