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.001175/0.001175, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001494/0.001494, allocations: 207.6 kB / 22.25 MB, free: 3.59 MB / 13.93 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.9516/0.9516, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.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.7802/0.7802, allocations: 203.8 MB / 0.5042 GB, free: 10.39 MB / 410.7 MB " [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: 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.0009022/0.0009022, allocations: 74.67 kB / 0.7182 GB, free: 4.004 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4802/0.4811, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1552/0.6363, allocations: 165.6 MB / 0.9796 GB, free: 15.47 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01035/0.6466, allocations: 12.04 MB / 0.9913 GB, free: 3.395 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007071/0.6473, allocations: 43.62 kB / 0.9914 GB, free: 3.352 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0009751/0.6483, allocations: 421.2 kB / 0.9918 GB, free: 2.938 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.001796/0.6501, allocations: 1.202 MB / 0.993 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.6512, allocations: 0.7409 MB / 0.9937 GB, free: 0.9961 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.001631/0.6528, allocations: 2.051 MB / 0.9957 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005936/0.6534, allocations: 0.6215 MB / 0.9963 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002402/0.6558, allocations: 2.008 MB / 0.9982 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008879/0.6567, allocations: 0.6622 MB / 0.9989 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.795e-05/0.6568, allocations: 83.94 kB / 0.999 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009184/0.6577, allocations: 0.7247 MB / 0.9997 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002519/0.658, allocations: 386.9 kB / 1 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002799/0.6582, allocations: 426.1 kB / 1 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001228/0.6595, allocations: 1.487 MB / 1.002 GB, free: 8.52 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.6595, allocations: 0 / 1.002 GB, free: 8.52 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6595, allocations: 0 / 1.002 GB, free: 8.52 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.6595, allocations: 4 kB / 1.002 GB, free: 8.516 MB / 0.7761 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.001276/0.6608, allocations: 1.182 MB / 1.003 GB, free: 7.301 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.6608, allocations: 12.03 kB / 1.003 GB, free: 7.289 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001049/0.6609, allocations: 122.5 kB / 1.003 GB, free: 7.16 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006905/0.6616, allocations: 219.1 kB / 1.003 GB, free: 6.945 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007048/0.6623, allocations: 0.6156 MB / 1.004 GB, free: 6.301 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.168e-05/0.6623, allocations: 57.94 kB / 1.004 GB, free: 6.246 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.106e-05/0.6624, allocations: 79.94 kB / 1.004 GB, free: 6.168 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009184/0.6633, allocations: 1.054 MB / 1.005 GB, free: 4.996 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.6633, allocations: 7.938 kB / 1.005 GB, free: 4.988 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.263e-05/0.6634, allocations: 35.94 kB / 1.005 GB, free: 4.953 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.745e-05/0.6634, allocations: 29.31 kB / 1.005 GB, free: 4.926 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006272/0.664, allocations: 0.6138 MB / 1.006 GB, free: 4.312 MB / 0.7761 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.002489/0.6665, allocations: 3.734 MB / 1.009 GB, free: 448 kB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005183/0.667, allocations: 464.7 kB / 1.01 GB, free: 15.95 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/0.6673, allocations: 230.5 kB / 1.01 GB, free: 15.72 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 9.819e-05/0.6674, allocations: 24.67 kB / 1.01 GB, free: 15.7 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.6674, allocations: 38.56 kB / 1.01 GB, free: 15.65 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=43): time 1.623e-06/0.6674, allocations: 0 / 1.01 GB, free: 15.65 MB / 0.7917 GB Notification: Performance of matching and sorting (n=45): time 0.001731/0.6691, allocations: 1.538 MB / 1.012 GB, free: 14.07 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/0.6692, allocations: 114.8 kB / 1.012 GB, free: 13.94 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005499/0.6697, allocations: 0.7271 MB / 1.013 GB, free: 13.2 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/0.6697, allocations: 37.7 kB / 1.013 GB, free: 13.16 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002192/0.67, allocations: 416.6 kB / 1.013 GB, free: 12.74 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 9.662e-05/0.6701, allocations: 174.4 kB / 1.013 GB, free: 12.57 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.6702, allocations: 118.3 kB / 1.013 GB, free: 12.45 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 8.942e-05/0.6703, allocations: 330 kB / 1.014 GB, free: 12.12 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/0.6705, allocations: 189.2 kB / 1.014 GB, free: 11.94 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003343/0.6708, allocations: 0.5617 MB / 1.014 GB, free: 11.25 MB / 0.7917 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.001377/0.6722, allocations: 1.107 MB / 1.015 GB, free: 10.06 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.6722, allocations: 0 / 1.015 GB, free: 10.06 MB / 0.7917 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006387/0.6728, allocations: 0.6832 MB / 1.016 GB, free: 9.367 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.6728, allocations: 8 kB / 1.016 GB, free: 9.359 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.6728, allocations: 16.7 kB / 1.016 GB, free: 9.344 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.6729, allocations: 11.94 kB / 1.016 GB, free: 9.332 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002539/0.6731, allocations: 131.8 kB / 1.016 GB, free: 9.203 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.6731, allocations: 8 kB / 1.016 GB, free: 9.195 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002583/0.6734, allocations: 23.98 kB / 1.016 GB, free: 9.172 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.705e-05/0.6734, allocations: 28 kB / 1.016 GB, free: 9.145 MB / 0.7917 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.0002434/0.6737, allocations: 277.5 kB / 1.017 GB, free: 8.863 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.936e-05/0.6738, allocations: 87.42 kB / 1.017 GB, free: 8.777 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.651e-05/0.6739, allocations: 87.66 kB / 1.017 GB, free: 8.688 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.6739, allocations: 4 kB / 1.017 GB, free: 8.684 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.6739, allocations: 4 kB / 1.017 GB, free: 8.68 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004587/0.6743, allocations: 0.7027 MB / 1.017 GB, free: 7.891 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001404/0.6757, allocations: 1.507 MB / 1.019 GB, free: 6.285 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.6757, allocations: 8.031 kB / 1.019 GB, free: 6.277 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002342/0.676, allocations: 111.8 kB / 1.019 GB, free: 6.168 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.676, allocations: 4 kB / 1.019 GB, free: 6.164 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.676, allocations: 16 kB / 1.019 GB, free: 6.148 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.676, allocations: 8 kB / 1.019 GB, free: 6.141 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.676, allocations: 7.938 kB / 1.019 GB, free: 6.133 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006999/0.6767, allocations: 0.8689 MB / 1.02 GB, free: 5.195 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/0.6769, allocations: 143.4 kB / 1.02 GB, free: 5.055 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.271e-05/0.6769, allocations: 12 kB / 1.02 GB, free: 5.043 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.6772, allocations: 22.42 kB / 1.02 GB, free: 5.023 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/0.6772, allocations: 39.83 kB / 1.02 GB, free: 4.984 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.147e-05/0.6772, allocations: 19.98 kB / 1.02 GB, free: 4.965 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0003879/0.6776, allocations: 0.5068 MB / 1.021 GB, free: 4.461 MB / 0.7917 GB Notification: Performance of sort global known variables: time 4.01e-07/0.6776, allocations: 0 / 1.021 GB, free: 4.461 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0004487/0.6781, allocations: 204 kB / 1.021 GB, free: 4.262 MB / 0.7917 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.001391/0.6794, allocations: 1.495 MB / 1.022 GB, free: 2.707 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.000528/0.68, allocations: 457.6 kB / 1.023 GB, free: 2.262 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.68, allocations: 7.938 kB / 1.023 GB, free: 2.254 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001781/0.6802, allocations: 211.6 kB / 1.023 GB, free: 2.047 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.6812, allocations: 471.3 kB / 1.023 GB, free: 1.609 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005451/0.6867, allocations: 6.651 MB / 1.03 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.687, allocations: 432.9 kB / 1.03 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0003706/0.6873, allocations: 211 kB / 1.03 GB, free: 9.898 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002464/0.6876, allocations: 295.3 kB / 1.031 GB, free: 9.609 MB / 0.8073 GB Notification: Performance of SimCode: time 7.01e-07/0.6876, allocations: 0 / 1.031 GB, free: 9.609 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04164/0.7292, allocations: 24.6 MB / 1.055 GB, free: 1.508 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.271/8, allocations: 2.922 kB / 1.055 GB, free: 1.508 MB / 0.823 GB " [Timeout remaining time 652] (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: 10.96850989293307] Failed to read output from testmodel.py, exit status != 0: 8.0927166021429 8.103906906 7.442161894 Calling exit ...