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.0008492/0.0008492, 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.0008351/0.0008351, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.8907/0.8907, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.7021/0.7021, allocations: 154.6 MB / 413.7 MB, free: 0.832 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.593e-06/1.593e-06, allocations: 3.938 kB / 0.6181 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.544e-05/1.703e-05, allocations: 5.234 kB / 0.6181 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.4196/0.4196, allocations: 165.5 MB / 0.7797 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.0114/0.4311, allocations: 11.99 MB / 0.7914 GB, free: 4.258 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007456/0.4318, allocations: 47.91 kB / 0.7914 GB, free: 4.23 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0009621/0.4328, allocations: 430.9 kB / 0.7918 GB, free: 3.977 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.001913/0.4347, allocations: 1.231 MB / 0.793 GB, free: 3.281 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.4358, allocations: 0.7967 MB / 0.7938 GB, free: 2.867 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.001457/0.4373, allocations: 2.041 MB / 0.7958 GB, free: 1.906 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005828/0.4378, allocations: 0.6207 MB / 0.7964 GB, free: 1.598 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0024/0.4402, allocations: 2.233 MB / 0.7986 GB, free: 0.5898 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009218/0.4412, allocations: 0.6049 MB / 0.7992 GB, free: 408 kB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 7.712e-05/0.4412, allocations: 79.84 kB / 0.7993 GB, free: 408 kB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007998/0.442, allocations: 0.7392 MB / 0.8 GB, free: 144 kB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002488/0.4423, allocations: 412.2 kB / 0.8004 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0002354/0.4425, allocations: 349.7 kB / 0.8007 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.4436, allocations: 1.511 MB / 0.8022 GB, free: 15.26 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.4436, allocations: 2.094 kB / 0.8022 GB, free: 15.26 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.794e-06/0.4436, allocations: 3.938 kB / 0.8022 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.4437, allocations: 0 / 0.8022 GB, free: 15.25 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.001107/0.4448, allocations: 1.183 MB / 0.8033 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.4448, allocations: 9.906 kB / 0.8034 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.458e-05/0.4449, allocations: 117 kB / 0.8035 GB, free: 14.25 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006256/0.4455, allocations: 229.9 kB / 0.8037 GB, free: 14.14 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006557/0.4462, allocations: 0.6073 MB / 0.8043 GB, free: 13.69 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.944e-05/0.4462, allocations: 61.62 kB / 0.8043 GB, free: 13.66 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.226e-05/0.4463, allocations: 79.02 kB / 0.8044 GB, free: 13.63 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008309/0.4471, allocations: 1.062 MB / 0.8055 GB, free: 12.81 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.4471, allocations: 6.344 kB / 0.8055 GB, free: 12.81 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.017e-05/0.4472, allocations: 32.5 kB / 0.8055 GB, free: 12.79 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/0.4472, allocations: 27.69 kB / 0.8055 GB, free: 12.79 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006099/0.4478, allocations: 0.624 MB / 0.8061 GB, free: 12.47 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.002818/0.4506, allocations: 3.722 MB / 0.8098 GB, free: 9.262 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006625/0.4513, allocations: 462.6 kB / 0.8102 GB, free: 8.992 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002245/0.4515, allocations: 236.3 kB / 0.8104 GB, free: 8.863 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001184/0.4516, allocations: 23.8 kB / 0.8105 GB, free: 8.855 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.4516, allocations: 40.19 kB / 0.8105 GB, free: 8.812 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=43): time 2.645e-06/0.4516, allocations: 0 / 0.8105 GB, free: 8.812 MB / 0.6667 GB Notification: Performance of matching and sorting (n=45): time 0.001956/0.4536, allocations: 1.542 MB / 0.812 GB, free: 7.848 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.4537, allocations: 108 kB / 0.8121 GB, free: 7.723 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006217/0.4543, allocations: 0.7257 MB / 0.8128 GB, free: 7.297 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.4543, allocations: 35.05 kB / 0.8128 GB, free: 7.262 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002234/0.4545, allocations: 427 kB / 0.8132 GB, free: 6.891 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.4546, allocations: 161.3 kB / 0.8134 GB, free: 6.75 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.4548, allocations: 128.4 kB / 0.8135 GB, free: 6.668 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.796e-05/0.4548, allocations: 330.4 kB / 0.8138 GB, free: 6.348 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/0.455, allocations: 184.8 kB / 0.814 GB, free: 6.262 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003659/0.4554, allocations: 0.5542 MB / 0.8146 GB, free: 5.711 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.00146/0.4569, allocations: 1.112 MB / 0.8156 GB, free: 5.004 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/0.4569, allocations: 2.812 kB / 0.8156 GB, free: 5.004 MB / 0.6667 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007202/0.4576, allocations: 0.6741 MB / 0.8163 GB, free: 4.652 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.4576, allocations: 8.031 kB / 0.8163 GB, free: 4.652 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.4576, allocations: 5.094 kB / 0.8163 GB, free: 4.652 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.4576, allocations: 14.22 kB / 0.8163 GB, free: 4.648 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002605/0.4579, allocations: 123.7 kB / 0.8164 GB, free: 4.625 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.635e-05/0.4579, allocations: 19.92 kB / 0.8165 GB, free: 4.613 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000357/0.4583, allocations: 25.38 kB / 0.8165 GB, free: 4.602 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.461e-05/0.4583, allocations: 37.31 kB / 0.8165 GB, free: 4.586 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.000353/0.4587, allocations: 279.8 kB / 0.8168 GB, free: 4.375 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.697e-05/0.4588, allocations: 83.58 kB / 0.8169 GB, free: 4.332 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.4589, allocations: 89.27 kB / 0.817 GB, free: 4.27 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.4589, allocations: 8.938 kB / 0.817 GB, free: 4.266 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/0.4589, allocations: 3.984 kB / 0.817 GB, free: 4.262 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005239/0.4594, allocations: 0.7025 MB / 0.8177 GB, free: 3.656 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001589/0.461, allocations: 1.513 MB / 0.8191 GB, free: 2.547 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.461, allocations: 3.375 kB / 0.8191 GB, free: 2.547 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000244/0.4612, allocations: 109.1 kB / 0.8192 GB, free: 2.52 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.4613, allocations: 5.188 kB / 0.8192 GB, free: 2.52 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.055e-05/0.4613, allocations: 15.97 kB / 0.8193 GB, free: 2.512 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.166e-06/0.4613, allocations: 13.11 kB / 0.8193 GB, free: 2.504 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.4613, allocations: 8.938 kB / 0.8193 GB, free: 2.5 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007713/0.4621, allocations: 0.8551 MB / 0.8201 GB, free: 1.918 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000225/0.4623, allocations: 133.9 kB / 0.8202 GB, free: 1.828 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.869e-05/0.4624, allocations: 20.42 kB / 0.8203 GB, free: 1.816 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.4626, allocations: 20.03 kB / 0.8203 GB, free: 1.805 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.55e-05/0.4626, allocations: 40.06 kB / 0.8203 GB, free: 1.781 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.4627, allocations: 19.59 kB / 0.8203 GB, free: 1.777 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004377/0.4631, allocations: 0.5159 MB / 0.8208 GB, free: 1.484 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4631, allocations: 0 / 0.8208 GB, free: 1.484 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0005675/0.4637, allocations: 201 kB / 0.821 GB, free: 1.465 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.001399/0.4651, allocations: 1.481 MB / 0.8225 GB, free: 324 kB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0006234/0.4657, allocations: 458.5 kB / 0.8229 GB, free: 116 kB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.4657, allocations: 3.375 kB / 0.8229 GB, free: 116 kB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000185/0.4659, allocations: 205.8 kB / 0.8231 GB, free: 20 kB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/0.4672, allocations: 481.8 kB / 0.8236 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006592/0.4738, allocations: 6.556 MB / 0.83 GB, free: 9.422 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.4741, allocations: 440.9 kB / 0.8304 GB, free: 8.965 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000553/0.4747, allocations: 207 kB / 0.8306 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000286/0.4749, allocations: 296.4 kB / 0.8309 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of SimCode: time 1.263e-06/0.4749, allocations: 0 / 0.8309 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03935/0.5143, allocations: 24.61 MB / 0.8549 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.831/8.345, allocations: 4 kB / 0.8549 GB, free: 0.5117 MB / 0.698 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 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.976836158894002] Failed to read output from testmodel.py, exit status != 0: 8.439018118195236 8.452949486 8.007215269 Calling exit ...