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.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.001389/0.001389, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001412/0.001412, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.399/1.399, allocations: 230.6 MB / 256 MB, free: 8.039 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.8264/0.8264, allocations: 134 MB / 446.4 MB, free: 10.25 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.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"}) [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.001913/0.001913, allocations: 66.48 kB / 0.6186 GB, free: 7.188 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1704, allocations: 85.9 MB / 0.7025 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.6038/0.7743, allocations: 191.2 MB / 0.8892 GB, free: 7.406 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01771/0.792, allocations: 13.24 MB / 0.9021 GB, free: 10.13 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001619/0.7936, allocations: 43.62 kB / 0.9021 GB, free: 10.09 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001432/0.7951, allocations: 441.1 kB / 0.9025 GB, free: 9.652 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003391/0.7984, allocations: 1.221 MB / 0.9037 GB, free: 8.426 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001939/0.8004, allocations: 0.7412 MB / 0.9045 GB, free: 7.688 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0029/0.8033, allocations: 2.059 MB / 0.9065 GB, free: 5.621 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001054/0.8043, allocations: 0.6255 MB / 0.9071 GB, free: 4.977 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004214/0.8085, allocations: 1.919 MB / 0.909 GB, free: 3.051 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001825/0.8104, allocations: 0.7108 MB / 0.9097 GB, free: 2.344 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001394/0.8105, allocations: 80 kB / 0.9097 GB, free: 2.266 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002012/0.8125, allocations: 0.9392 MB / 0.9106 GB, free: 1.324 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004438/0.813, allocations: 402.8 kB / 0.911 GB, free: 0.9297 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0005957/0.8136, allocations: 0.4899 MB / 0.9115 GB, free: 448 kB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002136/0.8157, allocations: 1.506 MB / 0.913 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.8157, allocations: 4 kB / 0.913 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.373e-06/0.8157, allocations: 0 / 0.913 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.562e-05/0.8157, allocations: 0 / 0.913 GB, free: 14.92 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.001972/0.8177, allocations: 1.193 MB / 0.9142 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.8177, allocations: 8.031 kB / 0.9142 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001509/0.8179, allocations: 130.5 kB / 0.9143 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/0.819, allocations: 215.2 kB / 0.9145 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/0.8202, allocations: 0.6116 MB / 0.9151 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.109e-05/0.8203, allocations: 61.94 kB / 0.9151 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.8204, allocations: 72 kB / 0.9152 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/0.8218, allocations: 0.9334 MB / 0.9161 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/0.8218, allocations: 3.938 kB / 0.9161 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.064e-05/0.8219, allocations: 32 kB / 0.9162 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.991e-05/0.8219, allocations: 33.3 kB / 0.9162 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009847/0.8229, allocations: 0.6138 MB / 0.9168 GB, free: 10.87 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.00498/0.8279, allocations: 4.532 MB / 0.9212 GB, free: 6.051 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000735/0.8286, allocations: 446.4 kB / 0.9216 GB, free: 5.59 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003433/0.8289, allocations: 243.2 kB / 0.9219 GB, free: 5.352 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001581/0.8291, allocations: 27.97 kB / 0.9219 GB, free: 5.324 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.33e-05/0.8291, allocations: 42.5 kB / 0.9219 GB, free: 5.273 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=43): time 2.024e-06/0.8291, allocations: 0 / 0.9219 GB, free: 5.273 MB / 0.6856 GB Notification: Performance of matching and sorting (n=45): time 0.002798/0.8319, allocations: 1.523 MB / 0.9234 GB, free: 3.715 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.442e-05/0.832, allocations: 114.7 kB / 0.9235 GB, free: 3.578 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008842/0.8329, allocations: 0.7194 MB / 0.9242 GB, free: 2.848 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.72e-05/0.833, allocations: 37.7 kB / 0.9243 GB, free: 2.805 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000338/0.8333, allocations: 416.6 kB / 0.9247 GB, free: 2.395 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001564/0.8334, allocations: 174.6 kB / 0.9248 GB, free: 2.223 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001642/0.8336, allocations: 114.4 kB / 0.9249 GB, free: 2.105 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.8338, allocations: 334 kB / 0.9253 GB, free: 1.773 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003007/0.8341, allocations: 185.2 kB / 0.9254 GB, free: 1.59 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005104/0.8346, allocations: 413 kB / 0.9258 GB, free: 1.098 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.002218/0.8368, allocations: 1.091 MB / 0.9269 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.8368, allocations: 4 kB / 0.9269 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001038/0.8378, allocations: 0.6761 MB / 0.9276 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.8379, allocations: 8 kB / 0.9276 GB, free: 15.22 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.8379, allocations: 11.94 kB / 0.9276 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.511e-05/0.8379, allocations: 11.98 kB / 0.9276 GB, free: 15.2 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004612/0.8384, allocations: 127.9 kB / 0.9277 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.628e-05/0.8384, allocations: 8 kB / 0.9277 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005016/0.8389, allocations: 37.83 kB / 0.9278 GB, free: 15.03 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.056e-05/0.8389, allocations: 31.98 kB / 0.9278 GB, free: 15 MB / 0.7012 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.0003632/0.8393, allocations: 277.6 kB / 0.9281 GB, free: 14.72 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/0.8394, allocations: 87.42 kB / 0.9281 GB, free: 14.63 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001757/0.8396, allocations: 91.66 kB / 0.9282 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.8396, allocations: 8 kB / 0.9282 GB, free: 14.53 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.8396, allocations: 0 / 0.9282 GB, free: 14.53 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007511/0.8404, allocations: 0.6911 MB / 0.9289 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002464/0.8428, allocations: 1.614 MB / 0.9305 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.8428, allocations: 0 / 0.9305 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004417/0.8433, allocations: 107.8 kB / 0.9306 GB, free: 11.93 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/0.8433, allocations: 8 kB / 0.9306 GB, free: 11.92 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.307e-05/0.8433, allocations: 19.83 kB / 0.9306 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.318e-06/0.8433, allocations: 5.625 kB / 0.9306 GB, free: 11.9 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.705e-06/0.8433, allocations: 7.938 kB / 0.9306 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.8445, allocations: 0.9088 MB / 0.9315 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000294/0.8448, allocations: 127.5 kB / 0.9316 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.504e-05/0.8449, allocations: 16 kB / 0.9317 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004605/0.8454, allocations: 23.92 kB / 0.9317 GB, free: 10.76 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.757e-05/0.8454, allocations: 35.83 kB / 0.9317 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.81e-05/0.8455, allocations: 24.86 kB / 0.9317 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0006549/0.8461, allocations: 0.5068 MB / 0.9322 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8461, allocations: 0 / 0.9322 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.000739/0.8468, allocations: 204 kB / 0.9324 GB, free: 10 MB / 0.7012 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.001793/0.8486, allocations: 1.518 MB / 0.9339 GB, free: 8.426 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0007916/0.8494, allocations: 464.4 kB / 0.9343 GB, free: 7.973 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.8494, allocations: 0 / 0.9343 GB, free: 7.973 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002924/0.8497, allocations: 198.4 kB / 0.9345 GB, free: 7.781 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001919/0.8516, allocations: 479 kB / 0.935 GB, free: 7.332 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008674/0.8603, allocations: 6.629 MB / 0.9415 GB, free: 312 kB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007173/0.861, allocations: 1.032 MB / 0.9425 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0006941/0.8617, allocations: 195 kB / 0.9427 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004114/0.8621, allocations: 295.3 kB / 0.9429 GB, free: 14.76 MB / 0.7169 GB Notification: Performance of SimCode: time 1.303e-06/0.8621, allocations: 0 / 0.9429 GB, free: 14.76 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06043/0.9226, allocations: 22.8 MB / 0.9652 GB, free: 8.316 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.91, allocations: 7.922 kB / 0.9652 GB, free: 8.309 MB / 0.7325 GB " [Timeout remaining time 647] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.550514708993433] Failed to read output from testmodel.py, exit status != 0: 13.028514054996776 13.053885066 12.233470292 Calling exit ...