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.001341/0.001341, allocations: 103.6 kB / 18.95 MB, free: 2.664 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.001573/0.001573, allocations: 213.4 kB / 22.24 MB, free: 5.266 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.447/1.447, allocations: 230.6 MB / 256 MB, free: 7.777 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.1395/0.1395, allocations: 23.99 MB / 336.4 MB, free: 10.84 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.002006/0.002006, allocations: 71.89 kB / 471.3 MB, free: 7.363 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3273, allocations: 59.9 MB / 0.5187 GB, free: 9.422 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1343:7-1343: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:1343:7-1343: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.07574/0.403, allocations: 28.63 MB / 0.5467 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01519/0.4182, allocations: 8.226 MB / 0.5547 GB, free: 3.539 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001583/0.4198, allocations: 39.75 kB / 0.5547 GB, free: 3.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003168/0.423, allocations: 0.9326 MB / 0.5557 GB, free: 2.785 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003279/0.4263, allocations: 0.8614 MB / 0.5565 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003285/0.4295, allocations: 0.9662 MB / 0.5574 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003583/0.4331, allocations: 2.008 MB / 0.5594 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007769/0.4339, allocations: 442.2 kB / 0.5598 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001296/0.4352, allocations: 0.8401 MB / 0.5606 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001673/0.4369, allocations: 0.9957 MB / 0.5616 GB, free: 13.51 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003331/0.4372, allocations: 208 kB / 0.5618 GB, free: 13.31 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003205/0.4404, allocations: 1.093 MB / 0.5629 GB, free: 12.35 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006346/0.4411, allocations: 0.5979 MB / 0.5635 GB, free: 11.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001053/0.4421, allocations: 0.881 MB / 0.5643 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006198/0.4483, allocations: 3.904 MB / 0.5681 GB, free: 7.059 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4483, allocations: 0 / 0.5681 GB, free: 7.059 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4483, allocations: 4 kB / 0.5681 GB, free: 7.055 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.515e-05/0.4484, allocations: 0 / 0.5681 GB, free: 7.055 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: 634 * Number of variables: 634 Notification: Performance of Generate backend data structure: time 0.004264/0.4526, allocations: 2.561 MB / 0.5706 GB, free: 4.445 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.4527, allocations: 8.031 kB / 0.5707 GB, free: 4.438 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003734/0.453, allocations: 330.3 kB / 0.571 GB, free: 4.105 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008847/0.4539, allocations: 415 kB / 0.5714 GB, free: 3.699 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001579/0.4555, allocations: 0.9246 MB / 0.5723 GB, free: 2.742 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002575/0.4558, allocations: 279.4 kB / 0.5725 GB, free: 2.441 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002722/0.456, allocations: 204.3 kB / 0.5727 GB, free: 2.242 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00875/0.4648, allocations: 7.401 MB / 0.58 GB, free: 10.77 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.089e-05/0.4648, allocations: 0 / 0.58 GB, free: 10.77 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001685/0.465, allocations: 87.97 kB / 0.58 GB, free: 10.69 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003789/0.4654, allocations: 332.8 kB / 0.5804 GB, free: 10.36 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01584/0.4812, allocations: 13.33 MB / 0.5934 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01765/0.4989, allocations: 11.03 MB / 0.6041 GB, free: 1.871 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/0.5005, allocations: 0.7367 MB / 0.6049 GB, free: 1.129 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007645/0.5013, allocations: 399.7 kB / 0.6052 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007464/0.5088, allocations: 3.491 MB / 0.6087 GB, free: 13.22 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.648e-05/0.5088, allocations: 43 kB / 0.6087 GB, free: 13.17 MB / 462.1 MB Notification: Performance of pre-optimization done (n=60): time 6.973e-06/0.5088, allocations: 3.984 kB / 0.6087 GB, free: 13.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=67): time 0.006822/0.5156, allocations: 2.59 MB / 0.6112 GB, free: 10.52 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/0.5157, allocations: 64 kB / 0.6113 GB, free: 10.45 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002086/0.5178, allocations: 1.533 MB / 0.6128 GB, free: 8.906 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.31e-05/0.5179, allocations: 37.7 kB / 0.6128 GB, free: 8.863 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009628/0.5188, allocations: 1.141 MB / 0.6139 GB, free: 7.707 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000275/0.5191, allocations: 257.8 kB / 0.6142 GB, free: 7.453 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004462/0.5196, allocations: 310.7 kB / 0.6145 GB, free: 7.145 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.5197, allocations: 341.9 kB / 0.6148 GB, free: 6.805 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007087/0.5204, allocations: 390.4 kB / 0.6152 GB, free: 6.422 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/0.5216, allocations: 0.8636 MB / 0.616 GB, free: 5.328 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001944/0.5235, allocations: 1.329 MB / 0.6173 GB, free: 3.766 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/0.5235, allocations: 4 kB / 0.6173 GB, free: 3.762 MB / 462.1 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003624/0.5272, allocations: 1.604 MB / 0.6189 GB, free: 2.145 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.5272, allocations: 12 kB / 0.6189 GB, free: 2.133 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.411e-05/0.5272, allocations: 16 kB / 0.6189 GB, free: 2.117 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003777/0.5276, allocations: 133.8 kB / 0.619 GB, free: 1.98 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0027/0.5303, allocations: 0.5384 MB / 0.6196 GB, free: 1.441 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003158/0.5334, allocations: 2.765 MB / 0.6223 GB, free: 14.45 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009962/0.5344, allocations: 47.98 kB / 0.6223 GB, free: 14.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000238/0.5347, allocations: 183.9 kB / 0.6225 GB, free: 14.22 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * 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 (136): * Single equations (assignments): 134 * 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.00109/0.5358, allocations: 0.6069 MB / 0.6231 GB, free: 13.6 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003336/0.5361, allocations: 166.8 kB / 0.6232 GB, free: 13.44 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003737/0.5398, allocations: 1.538 MB / 0.6247 GB, free: 11.86 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.5398, allocations: 4 kB / 0.6247 GB, free: 11.86 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.5398, allocations: 4 kB / 0.6248 GB, free: 11.86 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.5399, allocations: 3.984 kB / 0.6248 GB, free: 11.85 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005278/0.5451, allocations: 2.586 MB / 0.6273 GB, free: 9.168 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.278e-06/0.5451, allocations: 8 kB / 0.6273 GB, free: 9.16 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0021/0.5472, allocations: 308.1 kB / 0.6276 GB, free: 8.859 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002692/0.5475, allocations: 101.7 kB / 0.6277 GB, free: 8.754 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.912e-05/0.5476, allocations: 23.98 kB / 0.6277 GB, free: 8.73 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002911/0.5505, allocations: 2.746 MB / 0.6304 GB, free: 5.758 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.5505, allocations: 8.094 kB / 0.6304 GB, free: 5.75 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002997/0.5535, allocations: 1.286 MB / 0.6316 GB, free: 4.398 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000392/0.5539, allocations: 162.9 kB / 0.6318 GB, free: 4.238 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001897/0.5541, allocations: 19.95 kB / 0.6318 GB, free: 4.219 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005698/0.5546, allocations: 24.06 kB / 0.6318 GB, free: 4.195 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.5547, allocations: 60.22 kB / 0.6319 GB, free: 4.137 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.475e-05/0.5548, allocations: 23.98 kB / 0.6319 GB, free: 4.113 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001684/0.5565, allocations: 1.141 MB / 0.633 GB, free: 2.98 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5565, allocations: 0 / 0.633 GB, free: 2.98 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001517/0.558, allocations: 415.7 kB / 0.6334 GB, free: 2.574 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (61): * Single equations (assignments): 59 * 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.003931/0.5619, allocations: 2.09 MB / 0.6355 GB, free: 412 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002515/0.5644, allocations: 1.105 MB / 0.6366 GB, free: 15.28 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.5644, allocations: 384 / 0.6366 GB, free: 15.28 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.5654, allocations: 491.7 kB / 0.637 GB, free: 14.77 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001817/0.5673, allocations: 433.3 kB / 0.6374 GB, free: 14.36 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02389/0.5912, allocations: 13.69 MB / 0.6508 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001305/0.5925, allocations: 1.012 MB / 0.6518 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001584/0.594, allocations: 442.6 kB / 0.6522 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001402/0.5955, allocations: 0.9249 MB / 0.6531 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of SimCode: time 1.773e-06/0.5955, allocations: 0 / 0.6531 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09501/0.6905, allocations: 46.04 MB / 0.6981 GB, free: 15.75 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.74/14.43, allocations: 3.438 kB / 0.6981 GB, free: 15.75 MB / 0.545 GB " [Timeout remaining time 645] (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: 17.3033300107345] Failed to read output from testmodel.py, exit status != 0: 14.586339595727623 14.608845628 14.156844829 Calling exit ...