Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002051/0.002051, allocations: 108.2 kB / 16.45 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002224/0.002224, allocations: 210.4 kB / 19.42 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.441/1.441, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8114/0.8114, allocations: 134 MB / 442.8 MB, free: 11.27 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 68.36 kB / 0.6134 GB, free: 8.727 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.16, allocations: 85.85 MB / 0.6973 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.5547/0.7147, allocations: 193.9 MB / 0.8866 GB, free: 6.43 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.009903/0.7246, allocations: 5.687 MB / 0.8922 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001632/0.7263, allocations: 59.56 kB / 0.8923 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001641/0.7279, allocations: 0.5942 MB / 0.8928 GB, free: 80 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004383/0.7323, allocations: 1.657 MB / 0.8944 GB, free: 14.41 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003303/0.7356, allocations: 1.216 MB / 0.8956 GB, free: 13.21 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003522/0.7391, allocations: 2.508 MB / 0.8981 GB, free: 10.69 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001188/0.7403, allocations: 0.8286 MB / 0.8989 GB, free: 9.836 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001857/0.7422, allocations: 1.086 MB / 0.9 GB, free: 8.746 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001689/0.7438, allocations: 0.8771 MB / 0.9008 GB, free: 7.875 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001637/0.744, allocations: 104 kB / 0.9009 GB, free: 7.773 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002893/0.7469, allocations: 1.602 MB / 0.9025 GB, free: 6.168 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000528/0.7474, allocations: 0.4908 MB / 0.903 GB, free: 5.676 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0006998/0.7481, allocations: 0.63 MB / 0.9036 GB, free: 5.043 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002968/0.7511, allocations: 2.126 MB / 0.9056 GB, free: 2.914 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.7511, allocations: 4 kB / 0.9057 GB, free: 2.91 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7511, allocations: 0 / 0.9057 GB, free: 2.91 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.358e-05/0.7511, allocations: 0 / 0.9057 GB, free: 2.91 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002384/0.7535, allocations: 1.513 MB / 0.9071 GB, free: 1.344 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.7536, allocations: 13.11 kB / 0.9071 GB, free: 1.332 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001774/0.7537, allocations: 135.2 kB / 0.9073 GB, free: 1.191 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001949/0.7557, allocations: 331 kB / 0.9076 GB, free: 0.8672 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/0.757, allocations: 0.8239 MB / 0.9084 GB, free: 0 / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.188e-05/0.7571, allocations: 69.98 kB / 0.9085 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/0.7572, allocations: 80 kB / 0.9085 GB, free: 15.85 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001833/0.759, allocations: 1.071 MB / 0.9096 GB, free: 14.74 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/0.7591, allocations: 4 kB / 0.9096 GB, free: 14.74 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.226e-05/0.7592, allocations: 40 kB / 0.9096 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.841e-05/0.7592, allocations: 33.94 kB / 0.9097 GB, free: 14.67 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001629/0.7608, allocations: 0.8275 MB / 0.9105 GB, free: 13.84 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.005672/0.7665, allocations: 4.257 MB / 0.9146 GB, free: 9.316 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006055/0.7671, allocations: 358.1 kB / 0.915 GB, free: 8.961 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002971/0.7674, allocations: 196.8 kB / 0.9151 GB, free: 8.766 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002013/0.7676, allocations: 109.1 kB / 0.9153 GB, free: 8.641 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.7676, allocations: 42.55 kB / 0.9153 GB, free: 8.59 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=36): time 1.884e-06/0.7676, allocations: 3.938 kB / 0.9153 GB, free: 8.586 MB / 0.6856 GB Notification: Performance of matching and sorting (n=38): time 0.002604/0.7703, allocations: 1.343 MB / 0.9166 GB, free: 7.191 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.7703, allocations: 59.41 kB / 0.9167 GB, free: 7.121 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001418/0.7717, allocations: 1.001 MB / 0.9176 GB, free: 6.098 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.695e-05/0.7718, allocations: 33.7 kB / 0.9177 GB, free: 6.059 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004113/0.7722, allocations: 0.4963 MB / 0.9182 GB, free: 5.559 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.7723, allocations: 150.7 kB / 0.9183 GB, free: 5.41 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002128/0.7725, allocations: 130.2 kB / 0.9184 GB, free: 5.277 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.7727, allocations: 330 kB / 0.9187 GB, free: 4.949 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004865/0.7732, allocations: 229.2 kB / 0.919 GB, free: 4.727 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006761/0.7738, allocations: 441.5 kB / 0.9194 GB, free: 4.211 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002559/0.7764, allocations: 1.209 MB / 0.9206 GB, free: 2.906 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.7764, allocations: 4 kB / 0.9206 GB, free: 2.902 MB / 0.6856 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001464/0.7779, allocations: 0.7683 MB / 0.9213 GB, free: 2.129 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.7779, allocations: 11.94 kB / 0.9213 GB, free: 2.117 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.7779, allocations: 8.469 kB / 0.9213 GB, free: 2.109 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/0.7779, allocations: 12 kB / 0.9213 GB, free: 2.098 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005893/0.7785, allocations: 147.8 kB / 0.9215 GB, free: 1.953 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.831e-05/0.7785, allocations: 11.94 kB / 0.9215 GB, free: 1.941 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008973/0.7794, allocations: 59.27 kB / 0.9216 GB, free: 1.891 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-05/0.7795, allocations: 35.92 kB / 0.9216 GB, free: 1.855 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (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.0004923/0.78, allocations: 309.5 kB / 0.9219 GB, free: 1.543 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001809/0.7802, allocations: 111.3 kB / 0.922 GB, free: 1.434 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000207/0.7804, allocations: 101 kB / 0.9221 GB, free: 1.332 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.7804, allocations: 4 kB / 0.9221 GB, free: 1.328 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.7804, allocations: 0 / 0.9221 GB, free: 1.328 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007707/0.7812, allocations: 0.6906 MB / 0.9228 GB, free: 0.5508 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00253/0.7837, allocations: 1.569 MB / 0.9243 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.585e-06/0.7837, allocations: 4.5 kB / 0.9243 GB, free: 14.87 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004023/0.7841, allocations: 88.78 kB / 0.9244 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.897e-06/0.7841, allocations: 4 kB / 0.9244 GB, free: 14.78 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.203e-05/0.7841, allocations: 23.86 kB / 0.9244 GB, free: 14.76 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/0.7842, allocations: 8 kB / 0.9244 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.7842, allocations: 4 kB / 0.9244 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.7853, allocations: 0.8605 MB / 0.9253 GB, free: 13.82 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003999/0.7857, allocations: 244.3 kB / 0.9255 GB, free: 13.56 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.7858, allocations: 23.98 kB / 0.9255 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006694/0.7865, allocations: 35.97 kB / 0.9256 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.687e-05/0.7866, allocations: 35.91 kB / 0.9256 GB, free: 13.47 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-05/0.7866, allocations: 27.92 kB / 0.9256 GB, free: 13.44 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.00107/0.7877, allocations: 0.7077 MB / 0.9263 GB, free: 12.72 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7877, allocations: 0 / 0.9263 GB, free: 12.72 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0008922/0.7886, allocations: 259.9 kB / 0.9266 GB, free: 12.47 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (38): * Single equations (assignments): 38 * 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.001727/0.7903, allocations: 1.495 MB / 0.928 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0009874/0.7913, allocations: 496.7 kB / 0.9285 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.513e-06/0.7913, allocations: 4 kB / 0.9285 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002692/0.7916, allocations: 173.2 kB / 0.9287 GB, free: 10.24 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002743/0.7943, allocations: 0.6212 MB / 0.9293 GB, free: 9.645 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/0.8061, allocations: 7.606 MB / 0.9367 GB, free: 1.664 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008097/0.8069, allocations: 1.103 MB / 0.9378 GB, free: 0.5312 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0009284/0.8078, allocations: 252.4 kB / 0.938 GB, free: 288 kB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004994/0.8083, allocations: 343.4 kB / 0.9383 GB, free: 15.94 MB / 0.7169 GB Notification: Performance of SimCode: time 1.493e-06/0.8084, allocations: 0 / 0.9383 GB, free: 15.94 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06406/0.8724, allocations: 28.03 MB / 0.9657 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.486/10.36, allocations: 2.75 kB / 0.9657 GB, free: 4.281 MB / 0.7325 GB " [Timeout remaining time 650] (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.988238232996082] Failed to read output from testmodel.py, exit status != 0: 10.444305184006225 10.466132388 9.710833524 Calling exit ...