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.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.0008535/0.0008535, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008873/0.0008873, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8775/0.8775, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7166/0.7166, allocations: 154.5 MB / 413.7 MB, free: 0.8086 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_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 1.332e-06/1.332e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.228e-05/1.362e-05, allocations: 4.953 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.4089/0.4089, allocations: 165.5 MB / 0.7797 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01098/0.4199, allocations: 12 MB / 0.7914 GB, free: 4.312 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008886/0.4208, allocations: 45 kB / 0.7914 GB, free: 4.289 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.4219, allocations: 430.9 kB / 0.7918 GB, free: 4.035 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.00224/0.4241, allocations: 1.231 MB / 0.793 GB, free: 3.34 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.001321/0.4254, allocations: 0.792 MB / 0.7938 GB, free: 2.926 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.002233/0.4276, allocations: 2.044 MB / 0.7958 GB, free: 1.965 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008841/0.4285, allocations: 0.6246 MB / 0.7964 GB, free: 1.652 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003554/0.4321, allocations: 2.232 MB / 0.7986 GB, free: 0.6445 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001176/0.4333, allocations: 0.6034 MB / 0.7992 GB, free: 468 kB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.4334, allocations: 79.84 kB / 0.7993 GB, free: 468 kB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001179/0.4345, allocations: 0.7399 MB / 0.8 GB, free: 200 kB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002909/0.4348, allocations: 418.5 kB / 0.8004 GB, free: 12 kB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.000305/0.4351, allocations: 351.1 kB / 0.8007 GB, free: 15.87 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.001405/0.4365, allocations: 1.508 MB / 0.8022 GB, free: 15.31 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.4365, allocations: 0 / 0.8022 GB, free: 15.31 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4365, allocations: 0 / 0.8022 GB, free: 15.31 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 9.928e-06/0.4366, allocations: 0 / 0.8022 GB, free: 15.31 MB / 0.6667 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.001208/0.4378, allocations: 1.183 MB / 0.8033 GB, free: 14.4 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.4378, allocations: 11.94 kB / 0.8034 GB, free: 14.4 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001042/0.4379, allocations: 120.9 kB / 0.8035 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006543/0.4386, allocations: 222.2 kB / 0.8037 GB, free: 14.2 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000715/0.4393, allocations: 0.6139 MB / 0.8043 GB, free: 13.74 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.077e-05/0.4393, allocations: 62.02 kB / 0.8043 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.694e-05/0.4394, allocations: 89.61 kB / 0.8044 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008658/0.4403, allocations: 1.055 MB / 0.8055 GB, free: 12.87 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.4403, allocations: 10.88 kB / 0.8055 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.25e-05/0.4403, allocations: 28.12 kB / 0.8055 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.746e-05/0.4403, allocations: 31.81 kB / 0.8055 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006202/0.441, allocations: 0.6178 MB / 0.8061 GB, free: 12.53 MB / 0.6667 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.00249/0.4435, allocations: 3.718 MB / 0.8098 GB, free: 9.32 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005064/0.444, allocations: 460.3 kB / 0.8102 GB, free: 9.047 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002071/0.4442, allocations: 238.9 kB / 0.8104 GB, free: 8.918 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 9.702e-05/0.4443, allocations: 22.92 kB / 0.8105 GB, free: 8.914 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.4443, allocations: 41.09 kB / 0.8105 GB, free: 8.867 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=43): time 1.533e-06/0.4443, allocations: 4 kB / 0.8105 GB, free: 8.863 MB / 0.6667 GB Notification: Performance of matching and sorting (n=45): time 0.001844/0.4461, allocations: 1.538 MB / 0.812 GB, free: 7.902 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.4462, allocations: 112 kB / 0.8121 GB, free: 7.773 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005324/0.4467, allocations: 0.7202 MB / 0.8128 GB, free: 7.355 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.4467, allocations: 34.64 kB / 0.8128 GB, free: 7.32 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002113/0.447, allocations: 425 kB / 0.8132 GB, free: 6.949 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 9.305e-05/0.447, allocations: 172 kB / 0.8134 GB, free: 6.801 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.4472, allocations: 121 kB / 0.8135 GB, free: 6.727 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.666e-05/0.4472, allocations: 331.5 kB / 0.8138 GB, free: 6.402 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.4474, allocations: 181.1 kB / 0.814 GB, free: 6.32 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003258/0.4477, allocations: 0.5611 MB / 0.8146 GB, free: 5.762 MB / 0.6667 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.001324/0.4491, allocations: 1.111 MB / 0.8156 GB, free: 5.055 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4491, allocations: 0 / 0.8156 GB, free: 5.055 MB / 0.6667 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006365/0.4497, allocations: 0.6772 MB / 0.8163 GB, free: 4.703 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.4497, allocations: 7.688 kB / 0.8163 GB, free: 4.703 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.4497, allocations: 5.438 kB / 0.8163 GB, free: 4.703 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.4498, allocations: 18.66 kB / 0.8163 GB, free: 4.695 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002457/0.45, allocations: 122.2 kB / 0.8165 GB, free: 4.672 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/0.45, allocations: 16.05 kB / 0.8165 GB, free: 4.664 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002629/0.4503, allocations: 33.33 kB / 0.8165 GB, free: 4.645 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.362e-05/0.4503, allocations: 25.38 kB / 0.8165 GB, free: 4.641 MB / 0.6667 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.000227/0.4505, allocations: 279.3 kB / 0.8168 GB, free: 4.43 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.596e-05/0.4506, allocations: 86.11 kB / 0.8169 GB, free: 4.387 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.749e-05/0.4507, allocations: 93.84 kB / 0.817 GB, free: 4.316 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.4507, allocations: 13.77 kB / 0.817 GB, free: 4.309 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.4507, allocations: 0 / 0.817 GB, free: 4.309 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004592/0.4512, allocations: 0.7024 MB / 0.8177 GB, free: 3.703 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/0.4526, allocations: 1.515 MB / 0.8191 GB, free: 2.59 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.4526, allocations: 2.719 kB / 0.8191 GB, free: 2.59 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002362/0.4528, allocations: 93.92 kB / 0.8192 GB, free: 2.574 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.4528, allocations: 5.969 kB / 0.8192 GB, free: 2.574 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/0.4529, allocations: 15.94 kB / 0.8193 GB, free: 2.566 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-06/0.4529, allocations: 24.11 kB / 0.8193 GB, free: 2.551 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.4529, allocations: 2.188 kB / 0.8193 GB, free: 2.551 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006907/0.4536, allocations: 0.8595 MB / 0.8201 GB, free: 1.969 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001792/0.4537, allocations: 130.2 kB / 0.8202 GB, free: 1.883 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.79e-05/0.4538, allocations: 20.02 kB / 0.8203 GB, free: 1.871 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.454, allocations: 16.22 kB / 0.8203 GB, free: 1.863 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.454, allocations: 39.47 kB / 0.8203 GB, free: 1.84 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.4541, allocations: 21.41 kB / 0.8203 GB, free: 1.832 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003998/0.4545, allocations: 0.5159 MB / 0.8208 GB, free: 1.539 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.4e-07/0.4545, allocations: 2.688 kB / 0.8208 GB, free: 1.539 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004573/0.4549, allocations: 198.4 kB / 0.821 GB, free: 1.52 MB / 0.6667 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.001286/0.4562, allocations: 1.485 MB / 0.8225 GB, free: 376 kB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0005043/0.4567, allocations: 461.7 kB / 0.8229 GB, free: 164 kB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4567, allocations: 0 / 0.8229 GB, free: 164 kB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001733/0.4569, allocations: 199.8 kB / 0.8231 GB, free: 76 kB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.458, allocations: 486 kB / 0.8236 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005531/0.4636, allocations: 6.564 MB / 0.83 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.4638, allocations: 436.9 kB / 0.8304 GB, free: 8.98 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004089/0.4643, allocations: 203 kB / 0.8306 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002708/0.4645, allocations: 296.4 kB / 0.8309 GB, free: 8.488 MB / 0.6823 GB Notification: Performance of SimCode: time 8.51e-07/0.4645, allocations: 0 / 0.8309 GB, free: 8.488 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03288/0.4974, allocations: 24.61 MB / 0.8549 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.928/8.426, allocations: 4.062 kB / 0.8549 GB, free: 0.5312 MB / 0.698 GB " [Timeout remaining time 651] (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: 11.170860446058214] Failed to read output from testmodel.py, exit status != 0: 8.51971092633903 8.528942822 8.090305997 Calling exit ...