Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Processes.Tests.SimpleFlow.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.001367/0.001367, allocations: 103.6 kB / 18.95 MB, free: 2.66 MB / 14.72 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.001782/0.001782, allocations: 222.1 kB / 22.25 MB, free: 5.254 MB / 14.72 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 1.546/1.546, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1583/0.1583, allocations: 23.92 MB / 336.3 MB, free: 10.91 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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: translateModel(Chemical.Processes.Tests.SimpleFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Processes.Tests.SimpleFlow") translateModel(Chemical.Processes.Tests.SimpleFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Processes.Tests.SimpleFlow") [Timeout 660] "Notification: Chemical 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.002148/0.002148, allocations: 67.89 kB / 471.7 MB, free: 6.965 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4437/0.4458, allocations: 59.88 MB / 0.5191 GB, free: 9.73 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1336:7-1336:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1336:7-1336:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Processes.Tests.SimpleFlow): time 0.07935/0.5252, allocations: 28.41 MB / 0.5468 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01551/0.5407, allocations: 7.98 MB / 0.5546 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002221/0.5429, allocations: 35.81 kB / 0.5546 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004175/0.5471, allocations: 0.9279 MB / 0.5556 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00427/0.5514, allocations: 0.8513 MB / 0.5564 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003542/0.5549, allocations: 0.9031 MB / 0.5573 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004119/0.559, allocations: 1.981 MB / 0.5592 GB, free: 124 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008826/0.5599, allocations: 443.7 kB / 0.5596 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00148/0.5614, allocations: 0.8266 MB / 0.5604 GB, free: 14.94 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001799/0.5632, allocations: 1.113 MB / 0.5615 GB, free: 14.01 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003312/0.5635, allocations: 208 kB / 0.5617 GB, free: 13.8 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003676/0.5672, allocations: 1.059 MB / 0.5628 GB, free: 12.87 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007228/0.5679, allocations: 0.5925 MB / 0.5633 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001072/0.569, allocations: 0.8769 MB / 0.5642 GB, free: 11.53 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007328/0.5763, allocations: 3.834 MB / 0.5679 GB, free: 7.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.5763, allocations: 0 / 0.5679 GB, free: 7.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5763, allocations: 4 kB / 0.5679 GB, free: 7.676 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.35e-05/0.5764, allocations: 0 / 0.5679 GB, free: 7.676 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 627 * Number of variables: 627 Notification: Performance of Generate backend data structure: time 0.004355/0.5807, allocations: 2.522 MB / 0.5704 GB, free: 5.109 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.5808, allocations: 12.03 kB / 0.5704 GB, free: 5.098 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008558/0.5816, allocations: 407 kB / 0.5708 GB, free: 4.699 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/0.5831, allocations: 0.9051 MB / 0.5717 GB, free: 3.766 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002837/0.5834, allocations: 279.4 kB / 0.5719 GB, free: 3.465 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002861/0.5837, allocations: 200.3 kB / 0.5721 GB, free: 3.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008231/0.5919, allocations: 6.899 MB / 0.5789 GB, free: 12.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.045e-05/0.592, allocations: 0 / 0.5789 GB, free: 12.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001561/0.5921, allocations: 79.98 kB / 0.579 GB, free: 12.24 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000441/0.5926, allocations: 332.8 kB / 0.5793 GB, free: 11.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01435/0.6069, allocations: 12.6 MB / 0.5916 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01651/0.6234, allocations: 9.949 MB / 0.6013 GB, free: 5.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001502/0.6249, allocations: 0.7397 MB / 0.602 GB, free: 4.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006901/0.6256, allocations: 386.7 kB / 0.6024 GB, free: 4.121 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006664/0.6323, allocations: 3.229 MB / 0.6055 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.6323, allocations: 46.94 kB / 0.6056 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 1.934e-06/0.6323, allocations: 4 kB / 0.6056 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of matching and sorting (n=68): time 0.00651/0.6388, allocations: 2.576 MB / 0.6081 GB, free: 14.17 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/0.6389, allocations: 68.06 kB / 0.6082 GB, free: 14.09 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/0.6402, allocations: 1.01 MB / 0.6092 GB, free: 13.07 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.568e-05/0.6402, allocations: 33.7 kB / 0.6092 GB, free: 13.03 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008899/0.6411, allocations: 1.166 MB / 0.6103 GB, free: 11.85 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002626/0.6414, allocations: 253.9 kB / 0.6106 GB, free: 11.6 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004603/0.6419, allocations: 306.7 kB / 0.6109 GB, free: 11.29 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.642, allocations: 353.8 kB / 0.6112 GB, free: 10.94 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006834/0.6427, allocations: 382.5 kB / 0.6116 GB, free: 10.57 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001093/0.6438, allocations: 0.8282 MB / 0.6124 GB, free: 9.523 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001881/0.6457, allocations: 1.29 MB / 0.6136 GB, free: 8.016 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/0.6457, allocations: 4 kB / 0.6136 GB, free: 8.012 MB / 462.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003299/0.649, allocations: 1.538 MB / 0.6151 GB, free: 6.461 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/0.649, allocations: 12 kB / 0.6151 GB, free: 6.449 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-05/0.6491, allocations: 12 kB / 0.6152 GB, free: 6.438 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003663/0.6494, allocations: 129.5 kB / 0.6153 GB, free: 6.305 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002249/0.6517, allocations: 443.5 kB / 0.6157 GB, free: 5.871 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002885/0.6546, allocations: 2.731 MB / 0.6184 GB, free: 2.934 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007336/0.6553, allocations: 39.98 kB / 0.6184 GB, free: 2.895 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00023/0.6555, allocations: 184.2 kB / 0.6186 GB, free: 2.715 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 2 (substance.substanceDefinitionVar.SelfClustering,substance.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001096/0.6566, allocations: 0.6027 MB / 0.6192 GB, free: 2.102 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002644/0.6569, allocations: 119.2 kB / 0.6193 GB, free: 1.984 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003511/0.6604, allocations: 1.507 MB / 0.6208 GB, free: 452 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.6604, allocations: 8 kB / 0.6208 GB, free: 444 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.6604, allocations: 0 / 0.6208 GB, free: 444 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.6604, allocations: 3.984 kB / 0.6208 GB, free: 440 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00442/0.6648, allocations: 2.163 MB / 0.6229 GB, free: 14.18 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/0.6648, allocations: 8.438 kB / 0.6229 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001547/0.6664, allocations: 211.7 kB / 0.6231 GB, free: 13.96 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002578/0.6667, allocations: 109.6 kB / 0.6232 GB, free: 13.85 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.675e-05/0.6667, allocations: 19.94 kB / 0.6232 GB, free: 13.83 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002709/0.6694, allocations: 2.704 MB / 0.6259 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.6694, allocations: 7.938 kB / 0.6259 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002546/0.672, allocations: 1.201 MB / 0.627 GB, free: 9.648 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002112/0.6722, allocations: 99.23 kB / 0.6271 GB, free: 9.551 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/0.6723, allocations: 16 kB / 0.6271 GB, free: 9.535 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004132/0.6727, allocations: 19.98 kB / 0.6272 GB, free: 9.516 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.6728, allocations: 52.23 kB / 0.6272 GB, free: 9.465 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.771e-05/0.6729, allocations: 23.98 kB / 0.6272 GB, free: 9.441 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001006/0.6739, allocations: 0.7545 MB / 0.628 GB, free: 8.68 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6739, allocations: 0 / 0.628 GB, free: 8.68 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001439/0.6753, allocations: 407.7 kB / 0.6284 GB, free: 8.281 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (substance.logn,substance1.logn) * 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 (62): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005862/0.6759, allocations: 370.5 kB / 0.6287 GB, free: 7.91 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002241/0.6781, allocations: 1.057 MB / 0.6297 GB, free: 6.832 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.6781, allocations: 0 / 0.6297 GB, free: 6.832 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009602/0.6791, allocations: 486 kB / 0.6302 GB, free: 6.336 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/0.6804, allocations: 293.1 kB / 0.6305 GB, free: 6.059 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005906/0.6863, allocations: 3.518 MB / 0.6339 GB, free: 2.457 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001236/0.6876, allocations: 0.9983 MB / 0.6349 GB, free: 1.422 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001236/0.6888, allocations: 390.7 kB / 0.6353 GB, free: 1.035 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004997/0.6893, allocations: 163.3 kB / 0.6354 GB, free: 0.875 MB / 478.1 MB Notification: Performance of SimCode: time 9.52e-07/0.6893, allocations: 0 / 0.6354 GB, free: 0.875 MB / 478.1 MB Notification: Performance of Templates: time 0.04156/0.7309, allocations: 24.26 MB / 0.6591 GB, free: 8.859 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Processes.Tests.SimpleFlow.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Processes.Tests.SimpleFlow.pipe ; mkfifo Chemical_master_Chemical.Processes.Tests.SimpleFlow.pipe ; head -c 1048576 < Chemical_master_Chemical.Processes.Tests.SimpleFlow.pipe >> ../files/Chemical_master_Chemical.Processes.Tests.SimpleFlow.sim & ./Chemical_master_Chemical.Processes.Tests.SimpleFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Processes.Tests.SimpleFlow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.390937434975058] Failed to read output from testmodel.py, exit status != 0: 0.7402561400085688 0.753971131 0.174491123 Calling exit ...