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.001236/0.001236, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001379/0.001379, allocations: 216.9 kB / 22.25 MB, free: 5.121 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.382/1.382, allocations: 230.6 MB / 256 MB, free: 7.957 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.1342/0.1342, allocations: 23.89 MB / 336.3 MB, free: 11.13 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.001906/0.001906, allocations: 67.91 kB / 471.2 MB, free: 7.629 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2985, allocations: 59.88 MB / 0.5186 GB, free: 9.594 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.04246/0.341, allocations: 29.56 MB / 0.5475 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01488/0.3559, allocations: 9.155 MB / 0.5565 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001517/0.3574, allocations: 39.75 kB / 0.5565 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002979/0.3604, allocations: 1.014 MB / 0.5575 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002507/0.3629, allocations: 0.8476 MB / 0.5583 GB, free: 372 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002554/0.3654, allocations: 0.9033 MB / 0.5592 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002804/0.3682, allocations: 1.977 MB / 0.5611 GB, free: 13.89 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006861/0.3689, allocations: 439.2 kB / 0.5615 GB, free: 13.46 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001011/0.3699, allocations: 0.8308 MB / 0.5624 GB, free: 12.7 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001492/0.3714, allocations: 1.116 MB / 0.5634 GB, free: 11.77 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002465/0.3717, allocations: 208 kB / 0.5636 GB, free: 11.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003732/0.3754, allocations: 1.63 MB / 0.5652 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005679/0.376, allocations: 0.5956 MB / 0.5658 GB, free: 9.703 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001096/0.3771, allocations: 1.15 MB / 0.5669 GB, free: 8.547 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005683/0.3827, allocations: 4.001 MB / 0.5708 GB, free: 4.531 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3827, allocations: 0 / 0.5708 GB, free: 4.531 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3827, allocations: 0 / 0.5708 GB, free: 4.531 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.23e-05/0.3828, allocations: 0 / 0.5708 GB, free: 4.531 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.004172/0.387, allocations: 2.526 MB / 0.5733 GB, free: 1.961 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.387, allocations: 11.97 kB / 0.5733 GB, free: 1.949 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003596/0.3874, allocations: 330.1 kB / 0.5736 GB, free: 1.617 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008327/0.3882, allocations: 407 kB / 0.574 GB, free: 1.219 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001435/0.3896, allocations: 0.9129 MB / 0.5749 GB, free: 284 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002504/0.3899, allocations: 275.3 kB / 0.5752 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002592/0.3901, allocations: 204.3 kB / 0.5754 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007775/0.3979, allocations: 6.899 MB / 0.5821 GB, free: 8.828 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.577e-05/0.3979, allocations: 4 kB / 0.5821 GB, free: 8.824 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001438/0.3981, allocations: 83.98 kB / 0.5822 GB, free: 8.742 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003598/0.3984, allocations: 328.8 kB / 0.5825 GB, free: 8.418 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01352/0.412, allocations: 12.62 MB / 0.5948 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01648/0.4284, allocations: 11.31 MB / 0.6059 GB, free: 376 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/0.43, allocations: 0.7409 MB / 0.6066 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006955/0.4307, allocations: 386.7 kB / 0.607 GB, free: 15.23 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007032/0.4377, allocations: 3.528 MB / 0.6104 GB, free: 11.68 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.4378, allocations: 39.06 kB / 0.6105 GB, free: 11.63 MB / 462.1 MB Notification: Performance of pre-optimization done (n=60): time 2.124e-06/0.4378, allocations: 0 / 0.6105 GB, free: 11.63 MB / 462.1 MB Notification: Performance of matching and sorting (n=68): time 0.006672/0.4444, allocations: 2.627 MB / 0.613 GB, free: 8.945 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.4445, allocations: 64.06 kB / 0.6131 GB, free: 8.871 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002014/0.4465, allocations: 1.481 MB / 0.6145 GB, free: 7.383 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.636e-05/0.4466, allocations: 37.7 kB / 0.6146 GB, free: 7.34 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009274/0.4475, allocations: 1.126 MB / 0.6157 GB, free: 6.199 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002554/0.4478, allocations: 253.8 kB / 0.6159 GB, free: 5.949 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004358/0.4482, allocations: 302.8 kB / 0.6162 GB, free: 5.645 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.4484, allocations: 349.9 kB / 0.6165 GB, free: 5.297 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007149/0.4491, allocations: 382.5 kB / 0.6169 GB, free: 4.926 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/0.4502, allocations: 0.8321 MB / 0.6177 GB, free: 3.879 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001934/0.4521, allocations: 1.294 MB / 0.619 GB, free: 2.367 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.4521, allocations: 4 kB / 0.619 GB, free: 2.363 MB / 462.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003624/0.4558, allocations: 1.573 MB / 0.6205 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.4558, allocations: 15.94 kB / 0.6205 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/0.4558, allocations: 12 kB / 0.6205 GB, free: 0.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003877/0.4562, allocations: 129.8 kB / 0.6207 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002316/0.4585, allocations: 447.4 kB / 0.6211 GB, free: 184 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003242/0.4618, allocations: 2.777 MB / 0.6238 GB, free: 13.17 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008765/0.4626, allocations: 39.98 kB / 0.6238 GB, free: 13.13 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002369/0.4629, allocations: 176 kB / 0.624 GB, free: 12.96 MB / 478.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.001112/0.464, allocations: 0.5995 MB / 0.6246 GB, free: 12.35 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000306/0.4643, allocations: 170.9 kB / 0.6248 GB, free: 12.18 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003918/0.4682, allocations: 1.538 MB / 0.6263 GB, free: 10.61 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/0.4682, allocations: 12 kB / 0.6263 GB, free: 10.59 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.4682, allocations: 3.938 kB / 0.6263 GB, free: 10.59 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.4682, allocations: 3.984 kB / 0.6263 GB, free: 10.59 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005211/0.4734, allocations: 2.757 MB / 0.629 GB, free: 7.727 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.4734, allocations: 4 kB / 0.629 GB, free: 7.723 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001604/0.475, allocations: 212.2 kB / 0.6292 GB, free: 7.516 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002532/0.4753, allocations: 109.7 kB / 0.6293 GB, free: 7.402 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.841e-05/0.4753, allocations: 19.98 kB / 0.6293 GB, free: 7.383 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002818/0.4782, allocations: 2.75 MB / 0.632 GB, free: 4.402 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/0.4782, allocations: 11.88 kB / 0.632 GB, free: 4.391 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002765/0.4809, allocations: 1.236 MB / 0.6332 GB, free: 3.086 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003387/0.4813, allocations: 174.9 kB / 0.6334 GB, free: 2.914 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001744/0.4815, allocations: 16 kB / 0.6334 GB, free: 2.898 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005292/0.482, allocations: 16 kB / 0.6334 GB, free: 2.883 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.386e-05/0.4821, allocations: 56.22 kB / 0.6334 GB, free: 2.828 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.44e-05/0.4821, allocations: 23.98 kB / 0.6335 GB, free: 2.805 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001551/0.4837, allocations: 1.137 MB / 0.6346 GB, free: 1.676 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4837, allocations: 0 / 0.6346 GB, free: 1.676 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001336/0.485, allocations: 411.7 kB / 0.635 GB, free: 1.273 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.003444/0.4885, allocations: 2.067 MB / 0.637 GB, free: 15.13 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002203/0.4907, allocations: 1.061 MB / 0.638 GB, free: 14.05 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4907, allocations: 0 / 0.638 GB, free: 14.05 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000974/0.4916, allocations: 485.1 kB / 0.6385 GB, free: 13.55 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/0.4933, allocations: 419.5 kB / 0.6389 GB, free: 13.15 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0216/0.5149, allocations: 13.46 MB / 0.652 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001404/0.5163, allocations: 1.584 MB / 0.6536 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001315/0.5176, allocations: 442.3 kB / 0.654 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001314/0.5189, allocations: 0.917 MB / 0.6549 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of SimCode: time 7.61e-07/0.5189, allocations: 0 / 0.6549 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09132/0.6103, allocations: 43.44 MB / 0.6973 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.18/18.79, allocations: 7.438 kB / 0.6973 GB, free: 0.6992 MB / 0.5294 GB " [Timeout remaining time 641] (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 & python3 -m fmpy simulate --output-file Chemical_master_Chemical.Processes.Tests.SimpleFlow_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 21.419860381000035] Failed to read output from testmodel.py, exit status != 0: 18.93070743499993 18.959062737 18.571257398 Calling exit ...