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.001249/0.001249, 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.001376/0.001376, allocations: 218.2 kB / 22.25 MB, free: 5.258 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.381/1.381, allocations: 230.6 MB / 256 MB, free: 7.75 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.1333/0.1333, allocations: 23.92 MB / 336.3 MB, free: 10.92 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: "" <> buildModelFMU(Chemical.Processes.Tests.SimpleFlow,fileNamePrefix="Chemical_master_Chemical_Processes_Tests_SimpleFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Processes.Tests.SimpleFlow,fileNamePrefix="Chemical_master_Chemical_Processes_Tests_SimpleFlow",fmuType="me",version="2.0",platforms={"static"}) [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.001927/0.001927, allocations: 67.19 kB / 471.2 MB, free: 7.473 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2856, allocations: 59.87 MB / 0.5186 GB, free: 9.555 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.07137/0.357, allocations: 28.38 MB / 0.5463 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01334/0.3704, allocations: 7.978 MB / 0.5541 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001311/0.3717, allocations: 35.81 kB / 0.5541 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002788/0.3744, allocations: 0.9305 MB / 0.555 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002459/0.3769, allocations: 0.848 MB / 0.5559 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002462/0.3794, allocations: 0.9028 MB / 0.5568 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002792/0.3822, allocations: 1.98 MB / 0.5587 GB, free: 124 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007151/0.3829, allocations: 439.1 kB / 0.5591 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001011/0.3839, allocations: 0.8391 MB / 0.5599 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001529/0.3854, allocations: 1.106 MB / 0.561 GB, free: 14.01 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002502/0.3857, allocations: 211.9 kB / 0.5612 GB, free: 13.8 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002526/0.3882, allocations: 1.066 MB / 0.5622 GB, free: 12.86 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005548/0.3887, allocations: 0.5811 MB / 0.5628 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009037/0.3897, allocations: 0.8712 MB / 0.5637 GB, free: 11.54 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005334/0.395, allocations: 3.833 MB / 0.5674 GB, free: 7.773 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.395, allocations: 4 kB / 0.5674 GB, free: 7.77 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.395, allocations: 0 / 0.5674 GB, free: 7.77 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.889e-05/0.3951, allocations: 0 / 0.5674 GB, free: 7.77 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.004264/0.3993, allocations: 2.534 MB / 0.5699 GB, free: 5.191 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.3994, allocations: 12.03 kB / 0.5699 GB, free: 5.18 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003796/0.3997, allocations: 326.1 kB / 0.5702 GB, free: 4.852 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008623/0.4006, allocations: 407 kB / 0.5706 GB, free: 4.453 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001476/0.4021, allocations: 0.909 MB / 0.5715 GB, free: 3.516 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002478/0.4023, allocations: 271.4 kB / 0.5717 GB, free: 3.223 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002943/0.4026, allocations: 204.3 kB / 0.5719 GB, free: 3.023 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007944/0.4106, allocations: 6.907 MB / 0.5787 GB, free: 12.06 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.636e-05/0.4106, allocations: 0 / 0.5787 GB, free: 12.06 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001621/0.4108, allocations: 79.98 kB / 0.5788 GB, free: 11.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000361/0.4111, allocations: 328.8 kB / 0.5791 GB, free: 11.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01333/0.4245, allocations: 12.6 MB / 0.5914 GB, free: 15.04 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01694/0.4414, allocations: 10.65 MB / 0.6018 GB, free: 4.285 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001522/0.4429, allocations: 0.7281 MB / 0.6025 GB, free: 3.547 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006949/0.4436, allocations: 386.7 kB / 0.6029 GB, free: 3.168 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007057/0.4507, allocations: 3.322 MB / 0.6061 GB, free: 15.82 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.4507, allocations: 39.06 kB / 0.6061 GB, free: 15.77 MB / 462.1 MB Notification: Performance of pre-optimization done (n=60): time 2.495e-06/0.4507, allocations: 4 kB / 0.6061 GB, free: 15.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=68): time 0.006964/0.4577, allocations: 2.634 MB / 0.6087 GB, free: 13.07 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.4577, allocations: 60.06 kB / 0.6088 GB, free: 13 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001963/0.4597, allocations: 1.505 MB / 0.6102 GB, free: 11.49 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.708e-05/0.4598, allocations: 41.7 kB / 0.6103 GB, free: 11.45 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008895/0.4607, allocations: 1.134 MB / 0.6114 GB, free: 10.3 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002545/0.4609, allocations: 249.9 kB / 0.6116 GB, free: 10.05 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004485/0.4614, allocations: 298.8 kB / 0.6119 GB, free: 9.75 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.4615, allocations: 349.9 kB / 0.6122 GB, free: 9.402 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006892/0.4622, allocations: 382.5 kB / 0.6126 GB, free: 9.031 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001105/0.4633, allocations: 0.8321 MB / 0.6134 GB, free: 7.984 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001925/0.4652, allocations: 1.286 MB / 0.6147 GB, free: 6.48 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/0.4653, allocations: 12 kB / 0.6147 GB, free: 6.469 MB / 462.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003637/0.4689, allocations: 1.573 MB / 0.6162 GB, free: 4.883 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.4689, allocations: 15.94 kB / 0.6162 GB, free: 4.867 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.045e-05/0.4689, allocations: 16 kB / 0.6163 GB, free: 4.852 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003444/0.4693, allocations: 129.8 kB / 0.6164 GB, free: 4.719 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002284/0.4716, allocations: 443.4 kB / 0.6168 GB, free: 4.285 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0031/0.4747, allocations: 2.769 MB / 0.6195 GB, free: 1.285 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008637/0.4755, allocations: 36.31 kB / 0.6195 GB, free: 1.25 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002377/0.4758, allocations: 184 kB / 0.6197 GB, free: 1.07 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.001015/0.4768, allocations: 0.6028 MB / 0.6203 GB, free: 468 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003066/0.4771, allocations: 162.9 kB / 0.6205 GB, free: 304 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00382/0.4809, allocations: 1.538 MB / 0.622 GB, free: 14.72 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.4809, allocations: 8 kB / 0.622 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.716e-06/0.4809, allocations: 0 / 0.622 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.4809, allocations: 3.984 kB / 0.622 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005125/0.4861, allocations: 2.602 MB / 0.6245 GB, free: 12 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.4861, allocations: 12 kB / 0.6245 GB, free: 11.99 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001572/0.4876, allocations: 207.7 kB / 0.6247 GB, free: 11.79 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002506/0.4879, allocations: 109.7 kB / 0.6248 GB, free: 11.68 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.966e-05/0.4879, allocations: 19.98 kB / 0.6249 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002956/0.4909, allocations: 2.742 MB / 0.6275 GB, free: 8.684 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.325e-06/0.4909, allocations: 11.88 kB / 0.6275 GB, free: 8.672 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002859/0.4938, allocations: 1.24 MB / 0.6288 GB, free: 7.363 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003852/0.4942, allocations: 170.7 kB / 0.6289 GB, free: 7.195 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001836/0.4943, allocations: 16 kB / 0.6289 GB, free: 7.18 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005606/0.4949, allocations: 19.98 kB / 0.6289 GB, free: 7.16 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.495, allocations: 56.23 kB / 0.629 GB, free: 7.105 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.572e-05/0.495, allocations: 23.98 kB / 0.629 GB, free: 7.082 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001533/0.4966, allocations: 1.137 MB / 0.6301 GB, free: 5.953 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4966, allocations: 4.062 kB / 0.6301 GB, free: 5.949 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001345/0.4979, allocations: 407.7 kB / 0.6305 GB, free: 5.551 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.003601/0.5015, allocations: 2.057 MB / 0.6325 GB, free: 3.418 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002268/0.5038, allocations: 1.061 MB / 0.6336 GB, free: 2.336 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.5038, allocations: 0 / 0.6336 GB, free: 2.336 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009963/0.5048, allocations: 489.2 kB / 0.634 GB, free: 1.836 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001662/0.5065, allocations: 430.1 kB / 0.6344 GB, free: 1.426 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02162/0.5281, allocations: 13.45 MB / 0.6476 GB, free: 3.242 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001216/0.5293, allocations: 1.004 MB / 0.6486 GB, free: 2.199 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001332/0.5306, allocations: 442.3 kB / 0.649 GB, free: 1.762 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001303/0.5319, allocations: 0.9132 MB / 0.6499 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of SimCode: time 9.82e-07/0.5319, allocations: 0 / 0.6499 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0933/0.6252, allocations: 46.09 MB / 0.6949 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/13.13, allocations: 3.125 kB / 0.6949 GB, free: 3.102 MB / 0.5294 GB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Processes_Tests_SimpleFlow_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Processes_Tests_SimpleFlow.fmu > Chemical_master_Chemical.Processes.Tests.SimpleFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.770413613994606] Failed to read output from testmodel.py, exit status != 0: 13.270962938986486 13.295924608 12.89631825 Calling exit ...