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.001346/0.001346, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.001435/0.001435, allocations: 192 kB / 22.23 MB, free: 5.156 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.558/1.558, allocations: 225.6 MB / 251 MB, free: 13.02 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/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/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.135/1.135, allocations: 177.9 MB / 484.2 MB, free: 5.383 MB / 382.1 MB " [Timeout remaining time 178] 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: translateModel(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002409/0.002409, allocations: 60.61 kB / 0.674 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6518/0.6542, allocations: 95.17 MB / 0.7669 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2661/0.9203, allocations: 188.3 MB / 0.9508 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01935/0.9396, allocations: 13.24 MB / 0.9638 GB, free: 8.902 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001276/0.9409, allocations: 43.62 kB / 0.9638 GB, free: 8.859 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001592/0.9425, allocations: 445 kB / 0.9642 GB, free: 8.422 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.004041/0.9465, allocations: 1.217 MB / 0.9654 GB, free: 7.199 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002417/0.9489, allocations: 0.7577 MB / 0.9662 GB, free: 6.445 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.00401/0.953, allocations: 2.069 MB / 0.9682 GB, free: 4.371 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001267/0.9542, allocations: 0.6216 MB / 0.9688 GB, free: 3.727 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005615/0.9598, allocations: 2.051 MB / 0.9708 GB, free: 1.668 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002338/0.9622, allocations: 0.704 MB / 0.9715 GB, free: 0.9688 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002757/0.9625, allocations: 80 kB / 0.9716 GB, free: 0.8906 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002619/0.9651, allocations: 0.9316 MB / 0.9725 GB, free: 15.95 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0006018/0.9657, allocations: 390.8 kB / 0.9729 GB, free: 15.57 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0009098/0.9666, allocations: 0.5015 MB / 0.9733 GB, free: 15.07 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.003059/0.9696, allocations: 1.509 MB / 0.9748 GB, free: 13.56 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.9696, allocations: 0 / 0.9748 GB, free: 13.56 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.512e-06/0.9697, allocations: 0 / 0.9748 GB, free: 13.56 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.212e-05/0.9697, allocations: 4 kB / 0.9748 GB, free: 13.55 MB / 0.7637 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.002305/0.972, allocations: 1.193 MB / 0.976 GB, free: 12.33 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.972, allocations: 8.031 kB / 0.976 GB, free: 12.32 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001336/0.9734, allocations: 215.2 kB / 0.9762 GB, free: 12.11 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001386/0.9747, allocations: 0.6155 MB / 0.9768 GB, free: 11.46 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.681e-05/0.9748, allocations: 58 kB / 0.9769 GB, free: 11.41 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/0.9749, allocations: 79.95 kB / 0.9769 GB, free: 11.33 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.9765, allocations: 0.9326 MB / 0.9778 GB, free: 10.31 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.982e-05/0.9765, allocations: 11.94 kB / 0.9779 GB, free: 10.3 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-05/0.9766, allocations: 28 kB / 0.9779 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-05/0.9767, allocations: 29.31 kB / 0.9779 GB, free: 10.24 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.9778, allocations: 0.6177 MB / 0.9785 GB, free: 9.625 MB / 0.7637 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.005763/0.9835, allocations: 4.606 MB / 0.983 GB, free: 4.711 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008647/0.9844, allocations: 470.4 kB / 0.9835 GB, free: 4.227 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003608/0.9848, allocations: 238.4 kB / 0.9837 GB, free: 3.984 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001637/0.9849, allocations: 31.91 kB / 0.9837 GB, free: 3.953 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.342e-05/0.985, allocations: 38.56 kB / 0.9837 GB, free: 3.906 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=43): time 2.415e-06/0.985, allocations: 0 / 0.9837 GB, free: 3.906 MB / 0.7637 GB Notification: Performance of matching and sorting (n=45): time 0.003133/0.9881, allocations: 1.531 MB / 0.9852 GB, free: 2.34 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.216e-05/0.9882, allocations: 114.8 kB / 0.9854 GB, free: 2.203 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009822/0.9892, allocations: 0.7155 MB / 0.9861 GB, free: 1.48 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 5.533e-05/0.9892, allocations: 33.7 kB / 0.9861 GB, free: 1.441 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003774/0.9896, allocations: 420.6 kB / 0.9865 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001689/0.9898, allocations: 174.5 kB / 0.9867 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001915/0.99, allocations: 122.4 kB / 0.9868 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.9901, allocations: 326 kB / 0.9871 GB, free: 412 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003128/0.9904, allocations: 189.2 kB / 0.9873 GB, free: 220 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005311/0.991, allocations: 417 kB / 0.9877 GB, free: 15.72 MB / 0.7794 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.002442/0.9934, allocations: 1.107 MB / 0.9887 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.9934, allocations: 0 / 0.9887 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001202/0.9946, allocations: 0.676 MB / 0.9894 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.9946, allocations: 8 kB / 0.9894 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.9946, allocations: 7.938 kB / 0.9894 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.783e-05/0.9947, allocations: 12 kB / 0.9894 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004778/0.9951, allocations: 131.8 kB / 0.9896 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.142e-05/0.9952, allocations: 12 kB / 0.9896 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007393/0.9959, allocations: 27.94 kB / 0.9896 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.777e-05/0.996, allocations: 24.25 kB / 0.9896 GB, free: 13.62 MB / 0.7794 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.0005649/0.9965, allocations: 285.4 kB / 0.9899 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001988/0.9967, allocations: 83.48 kB / 0.99 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002126/0.9969, allocations: 95.66 kB / 0.9901 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.9969, allocations: 4.062 kB / 0.9901 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.389e-05/0.997, allocations: 4 kB / 0.9901 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009145/0.9979, allocations: 0.6988 MB / 0.9907 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002794/1.001, allocations: 1.615 MB / 0.9923 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.348e-06/1.001, allocations: 4 kB / 0.9923 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004878/1.001, allocations: 103.8 kB / 0.9924 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-05/1.001, allocations: 7.938 kB / 0.9924 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.747e-05/1.001, allocations: 12.5 kB / 0.9924 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.03e-05/1.001, allocations: 12 kB / 0.9925 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.245e-06/1.001, allocations: 8.031 kB / 0.9925 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/1.003, allocations: 0.877 MB / 0.9933 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003966/1.003, allocations: 127.4 kB / 0.9934 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/1.003, allocations: 16 kB / 0.9935 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004563/1.004, allocations: 19.23 kB / 0.9935 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.853e-05/1.004, allocations: 47.83 kB / 0.9935 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.659e-05/1.004, allocations: 15.98 kB / 0.9935 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0007422/1.004, allocations: 0.5107 MB / 0.994 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of sort global known variables: time 8e-08/1.004, allocations: 0 / 0.994 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0008447/1.005, allocations: 203.9 kB / 0.9942 GB, free: 8.633 MB / 0.7794 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.0005366/1.006, allocations: 191.4 kB / 0.9944 GB, free: 8.453 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0009311/1.007, allocations: 461.5 kB / 0.9949 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.007, allocations: 0 / 0.9949 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003195/1.007, allocations: 213 kB / 0.9951 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002204/1.009, allocations: 477.3 kB / 0.9955 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003062/1.012, allocations: 1.683 MB / 0.9972 GB, free: 5.574 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007883/1.013, allocations: 1.028 MB / 0.9982 GB, free: 4.516 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0007653/1.014, allocations: 203 kB / 0.9984 GB, free: 4.312 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/1.014, allocations: 67.44 kB / 0.9984 GB, free: 4.246 MB / 0.7794 GB Notification: Performance of SimCode: time 1.683e-06/1.014, allocations: 0 / 0.9984 GB, free: 4.246 MB / 0.7794 GB Notification: Performance of Templates: time 0.03083/1.045, allocations: 15.64 MB / 1.014 GB, free: 4.832 MB / 0.795 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.567825695499778] Failed to read output from testmodel.py, exit status != 0: 1.0545308953151107 1.0689104729999999 0.09591963199999995 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f3537e157b0>