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.001401/0.001401, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.001637/0.001637, allocations: 220.5 kB / 22.26 MB, free: 5.215 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.45/1.45, allocations: 230.6 MB / 256 MB, free: 8.012 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.1537/0.1537, allocations: 23.89 MB / 336.3 MB, free: 11.24 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.002025/0.002025, allocations: 67.89 kB / 471.2 MB, free: 7.648 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3795/0.3815, allocations: 59.86 MB / 0.5186 GB, free: 9.543 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.04603/0.4276, allocations: 29.57 MB / 0.5475 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01709/0.4446, allocations: 9.16 MB / 0.5565 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002829/0.4475, allocations: 39.75 kB / 0.5565 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003912/0.4514, allocations: 1.009 MB / 0.5575 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00376/0.4551, allocations: 0.8481 MB / 0.5583 GB, free: 416 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003365/0.4585, allocations: 0.9066 MB / 0.5592 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004093/0.4626, allocations: 1.977 MB / 0.5611 GB, free: 13.93 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008576/0.4635, allocations: 442.5 kB / 0.5615 GB, free: 13.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00157/0.465, allocations: 0.8273 MB / 0.5624 GB, free: 12.74 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001831/0.4669, allocations: 1.125 MB / 0.5635 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004365/0.4673, allocations: 208 kB / 0.5636 GB, free: 11.6 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004745/0.472, allocations: 1.622 MB / 0.5652 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007137/0.4728, allocations: 0.5932 MB / 0.5658 GB, free: 9.742 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001822/0.4746, allocations: 1.158 MB / 0.5669 GB, free: 8.578 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00756/0.4821, allocations: 3.997 MB / 0.5708 GB, free: 4.566 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.922e-06/0.4821, allocations: 0 / 0.5708 GB, free: 4.566 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4822, allocations: 0 / 0.5708 GB, free: 4.566 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.6e-05/0.4822, allocations: 0 / 0.5708 GB, free: 4.566 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.004876/0.4871, allocations: 2.526 MB / 0.5733 GB, free: 1.996 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/0.4871, allocations: 8.031 kB / 0.5733 GB, free: 1.988 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004063/0.4875, allocations: 338.1 kB / 0.5736 GB, free: 1.648 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009539/0.4885, allocations: 411 kB / 0.574 GB, free: 1.246 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001529/0.49, allocations: 0.9051 MB / 0.5749 GB, free: 320 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000284/0.4903, allocations: 267.4 kB / 0.5752 GB, free: 24 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003266/0.4906, allocations: 216.2 kB / 0.5754 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008905/0.4995, allocations: 6.899 MB / 0.5821 GB, free: 8.859 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.565e-05/0.4996, allocations: 0 / 0.5821 GB, free: 8.859 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001447/0.4997, allocations: 79.98 kB / 0.5822 GB, free: 8.781 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003689/0.5001, allocations: 332.8 kB / 0.5825 GB, free: 8.453 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01488/0.515, allocations: 12.62 MB / 0.5948 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01837/0.5333, allocations: 11.31 MB / 0.6059 GB, free: 404 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/0.5349, allocations: 0.7331 MB / 0.6066 GB, free: 15.65 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007143/0.5357, allocations: 382.7 kB / 0.607 GB, free: 15.27 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00754/0.5432, allocations: 3.528 MB / 0.6104 GB, free: 11.71 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.198e-05/0.5433, allocations: 43.06 kB / 0.6105 GB, free: 11.66 MB / 462.1 MB Notification: Performance of pre-optimization done (n=60): time 2.395e-06/0.5433, allocations: 0 / 0.6105 GB, free: 11.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=68): time 0.007164/0.5504, allocations: 2.623 MB / 0.613 GB, free: 8.984 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.096e-05/0.5505, allocations: 60.06 kB / 0.6131 GB, free: 8.914 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002184/0.5527, allocations: 1.489 MB / 0.6145 GB, free: 7.418 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.621e-05/0.5528, allocations: 33.7 kB / 0.6146 GB, free: 7.379 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001021/0.5538, allocations: 1.134 MB / 0.6157 GB, free: 6.23 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003126/0.5541, allocations: 245.9 kB / 0.6159 GB, free: 5.988 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004882/0.5546, allocations: 306.7 kB / 0.6162 GB, free: 5.68 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.5548, allocations: 349.9 kB / 0.6165 GB, free: 5.332 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007212/0.5555, allocations: 382.5 kB / 0.6169 GB, free: 4.961 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/0.5566, allocations: 0.8321 MB / 0.6177 GB, free: 3.914 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001954/0.5586, allocations: 1.286 MB / 0.619 GB, free: 2.41 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.5586, allocations: 4 kB / 0.619 GB, free: 2.406 MB / 462.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.00375/0.5623, allocations: 1.576 MB / 0.6205 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.083e-05/0.5624, allocations: 15.94 kB / 0.6205 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.942e-05/0.5624, allocations: 12 kB / 0.6205 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000398/0.5628, allocations: 129.8 kB / 0.6207 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00229/0.5651, allocations: 451.4 kB / 0.6211 GB, free: 220 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003392/0.5685, allocations: 2.773 MB / 0.6238 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/0.5695, allocations: 36 kB / 0.6238 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002904/0.5698, allocations: 180 kB / 0.624 GB, free: 13 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.001323/0.5711, allocations: 0.5994 MB / 0.6246 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004307/0.5715, allocations: 166.8 kB / 0.6247 GB, free: 12.23 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004149/0.5757, allocations: 1.542 MB / 0.6262 GB, free: 10.64 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/0.5757, allocations: 19.94 kB / 0.6263 GB, free: 10.62 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.5757, allocations: 0 / 0.6263 GB, free: 10.62 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.5757, allocations: 3.984 kB / 0.6263 GB, free: 10.62 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006442/0.5822, allocations: 2.765 MB / 0.629 GB, free: 7.754 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/0.5822, allocations: 4 kB / 0.629 GB, free: 7.75 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001693/0.5839, allocations: 212.2 kB / 0.6292 GB, free: 7.543 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003136/0.5842, allocations: 101.7 kB / 0.6293 GB, free: 7.438 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.832e-05/0.5843, allocations: 23.98 kB / 0.6293 GB, free: 7.414 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003387/0.5876, allocations: 2.75 MB / 0.632 GB, free: 4.434 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/0.5877, allocations: 11.88 kB / 0.632 GB, free: 4.422 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003085/0.5907, allocations: 1.236 MB / 0.6332 GB, free: 3.117 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005488/0.5913, allocations: 166.9 kB / 0.6334 GB, free: 2.953 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003506/0.5916, allocations: 20.06 kB / 0.6334 GB, free: 2.934 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007134/0.5924, allocations: 19.98 kB / 0.6334 GB, free: 2.914 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.5925, allocations: 52.23 kB / 0.6334 GB, free: 2.863 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.878e-05/0.5925, allocations: 23.98 kB / 0.6335 GB, free: 2.84 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002147/0.5947, allocations: 1.137 MB / 0.6346 GB, free: 1.711 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5947, allocations: 0 / 0.6346 GB, free: 1.711 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0018/0.5965, allocations: 411.7 kB / 0.635 GB, free: 1.309 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.004141/0.6006, allocations: 2.059 MB / 0.637 GB, free: 15.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002688/0.6033, allocations: 1.066 MB / 0.638 GB, free: 14.09 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.6033, allocations: 0 / 0.638 GB, free: 14.09 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001077/0.6044, allocations: 483.6 kB / 0.6385 GB, free: 13.59 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00229/0.6067, allocations: 424.6 kB / 0.6389 GB, free: 13.18 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03022/0.6369, allocations: 13.46 MB / 0.652 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002225/0.6391, allocations: 1.58 MB / 0.6536 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001599/0.6407, allocations: 446.3 kB / 0.654 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001669/0.6424, allocations: 0.9132 MB / 0.6549 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of SimCode: time 1.423e-06/0.6424, allocations: 3.938 kB / 0.6549 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1439/0.7863, allocations: 43.44 MB / 0.6973 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.64/20.42, allocations: 7.031 kB / 0.6973 GB, free: 0.7344 MB / 0.5294 GB " [Timeout remaining time 639] (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: 23.304833663161844] Failed to read output from testmodel.py, exit status != 0: 20.55709903407842 20.579559064 20.09275307 Calling exit ...