Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001702/0.001702, allocations: 106.8 kB / 16.4 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00185/0.00185, allocations: 191.7 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.024/1.024, allocations: 173.4 MB / 470.7 MB, free: 13.59 MB / 382.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-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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 69.45 kB / 0.6479 GB, free: 11.69 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.185, allocations: 89.52 MB / 0.7353 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5725/0.7576, allocations: 187.3 MB / 0.9182 GB, free: 6 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01653/0.7742, allocations: 13.07 MB / 0.931 GB, free: 8.898 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001515/0.7757, allocations: 31.81 kB / 0.931 GB, free: 8.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001571/0.7774, allocations: 433.2 kB / 0.9314 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003193/0.7806, allocations: 1.147 MB / 0.9326 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001977/0.7826, allocations: 0.7083 MB / 0.9332 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002907/0.7855, allocations: 2.007 MB / 0.9352 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001224/0.7867, allocations: 0.8473 MB / 0.936 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004457/0.7912, allocations: 1.934 MB / 0.9379 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001717/0.7929, allocations: 0.6563 MB / 0.9386 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001559/0.7931, allocations: 80 kB / 0.9386 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001764/0.7949, allocations: 0.8615 MB / 0.9395 GB, free: 176 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004403/0.7953, allocations: 387.1 kB / 0.9399 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006282/0.796, allocations: 0.4976 MB / 0.9403 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002359/0.7983, allocations: 1.504 MB / 0.9418 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.7983, allocations: 0 / 0.9418 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7983, allocations: 0 / 0.9418 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.672e-05/0.7984, allocations: 0 / 0.9418 GB, free: 13.79 MB / 0.7325 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.001957/0.8003, allocations: 1.269 MB / 0.943 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.8004, allocations: 15.95 kB / 0.9431 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001565/0.8005, allocations: 122.5 kB / 0.9432 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/0.8017, allocations: 219.2 kB / 0.9434 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.8028, allocations: 0.6799 MB / 0.9441 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.927e-05/0.8028, allocations: 58 kB / 0.9441 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.8029, allocations: 83.95 kB / 0.9442 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.8043, allocations: 0.9364 MB / 0.9451 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/0.8043, allocations: 4 kB / 0.9451 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.892e-05/0.8044, allocations: 32 kB / 0.9451 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.625e-05/0.8045, allocations: 33.3 kB / 0.9452 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009681/0.8054, allocations: 0.6138 MB / 0.9458 GB, free: 9.547 MB / 0.7325 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.004369/0.8098, allocations: 4.658 MB / 0.9503 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008279/0.8107, allocations: 0.548 MB / 0.9508 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000359/0.811, allocations: 248.9 kB / 0.9511 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001938/0.8112, allocations: 105.1 kB / 0.9512 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.8113, allocations: 50.38 kB / 0.9512 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 2.484e-06/0.8113, allocations: 0 / 0.9512 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.002966/0.8143, allocations: 1.622 MB / 0.9528 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.894e-05/0.8144, allocations: 114.8 kB / 0.9529 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009289/0.8153, allocations: 0.7039 MB / 0.9536 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.219e-05/0.8153, allocations: 33.7 kB / 0.9536 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003358/0.8157, allocations: 432.5 kB / 0.9541 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001503/0.8158, allocations: 174.5 kB / 0.9542 GB, free: 396 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001823/0.816, allocations: 118.3 kB / 0.9543 GB, free: 272 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.8162, allocations: 326 kB / 0.9547 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003063/0.8165, allocations: 189.2 kB / 0.9548 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004905/0.817, allocations: 417 kB / 0.9552 GB, free: 15.25 MB / 0.7481 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.00235/0.8194, allocations: 1.178 MB / 0.9564 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.8194, allocations: 4 kB / 0.9564 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001094/0.8205, allocations: 0.6802 MB / 0.957 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.8205, allocations: 8.094 kB / 0.9571 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.8205, allocations: 8 kB / 0.9571 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/0.8206, allocations: 12 kB / 0.9571 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004395/0.821, allocations: 119.8 kB / 0.9572 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.93e-05/0.821, allocations: 19.92 kB / 0.9572 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005427/0.8216, allocations: 29.72 kB / 0.9572 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.535e-05/0.8216, allocations: 27.98 kB / 0.9573 GB, free: 13.07 MB / 0.7481 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.0003956/0.822, allocations: 273.6 kB / 0.9575 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/0.8222, allocations: 91.42 kB / 0.9576 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001662/0.8224, allocations: 87.67 kB / 0.9577 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.862e-06/0.8224, allocations: 4 kB / 0.9577 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.8224, allocations: 3.938 kB / 0.9577 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007678/0.8232, allocations: 0.708 MB / 0.9584 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002413/0.8256, allocations: 1.652 MB / 0.96 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/0.8256, allocations: 4 kB / 0.96 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004318/0.8261, allocations: 95.89 kB / 0.9601 GB, free: 9.957 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.8261, allocations: 4 kB / 0.9601 GB, free: 9.953 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.217e-05/0.8261, allocations: 12 kB / 0.9601 GB, free: 9.941 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.027e-05/0.8261, allocations: 11.94 kB / 0.9601 GB, free: 9.93 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.8261, allocations: 4 kB / 0.9601 GB, free: 9.926 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.8273, allocations: 0.8696 MB / 0.961 GB, free: 8.992 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002799/0.8276, allocations: 212.5 kB / 0.9612 GB, free: 8.766 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.552e-05/0.8277, allocations: 23.92 kB / 0.9612 GB, free: 8.742 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004173/0.8281, allocations: 12 kB / 0.9612 GB, free: 8.73 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.526e-05/0.8282, allocations: 39.89 kB / 0.9613 GB, free: 8.691 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.495e-05/0.8282, allocations: 23.94 kB / 0.9613 GB, free: 8.668 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006259/0.8288, allocations: 0.5068 MB / 0.9618 GB, free: 8.164 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.853e-06/0.8288, allocations: 4 kB / 0.9618 GB, free: 8.16 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007168/0.8296, allocations: 203.9 kB / 0.962 GB, free: 7.961 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,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.001778/0.8313, allocations: 1.505 MB / 0.9634 GB, free: 6.406 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008919/0.8322, allocations: 484.2 kB / 0.9639 GB, free: 5.934 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.8323, allocations: 0 / 0.9639 GB, free: 5.934 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002992/0.8326, allocations: 214.2 kB / 0.9641 GB, free: 5.727 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002001/0.8346, allocations: 486.3 kB / 0.9646 GB, free: 5.266 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008568/0.8432, allocations: 6.636 MB / 0.9711 GB, free: 14.23 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006571/0.8438, allocations: 1.028 MB / 0.9721 GB, free: 13.17 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0006608/0.8445, allocations: 199 kB / 0.9722 GB, free: 12.97 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003988/0.8449, allocations: 298.6 kB / 0.9725 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of SimCode: time 9.01e-07/0.8449, allocations: 0 / 0.9725 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05243/0.8974, allocations: 22.21 MB / 0.9942 GB, free: 6.855 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.218/10.12, allocations: 11.92 kB / 0.9942 GB, free: 6.844 MB / 0.7794 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.912734434008598] Failed to read output from testmodel.py, exit status != 0: 10.197289963020012 10.221133676000001 9.418455435 Calling exit ...