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.0006697/0.0006697, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007659/0.0007659, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8307/0.8307, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.07776/0.07776, allocations: 17.45 MB / 276.6 MB, free: 11.74 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 3.938 kB / 411.6 MB, free: 260 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.907e-05/2.085e-05, allocations: 2.281 kB / 411.6 MB, free: 256 kB / 378.7 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.02543/0.02545, allocations: 29.11 MB / 440.7 MB, free: 3.203 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1712/0.1966, allocations: 8.963 MB / 449.7 MB, free: 59.33 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000711/0.1973, allocations: 60.84 kB / 449.7 MB, free: 59.33 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001764/0.1991, allocations: 1.055 MB / 450.8 MB, free: 59.03 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001538/0.2006, allocations: 1.089 MB / 451.9 MB, free: 58.61 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001921/0.2025, allocations: 1.122 MB / 453 MB, free: 58.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001487/0.204, allocations: 2.254 MB / 455.2 MB, free: 57.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004521/0.2045, allocations: 437.3 kB / 455.7 MB, free: 56.84 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009068/0.2054, allocations: 1.329 MB / 457 MB, free: 56.25 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008046/0.2062, allocations: 0.9491 MB / 458 MB, free: 55.93 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001467/0.2063, allocations: 210.9 kB / 458.2 MB, free: 55.93 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002213/0.2086, allocations: 1.354 MB / 459.5 MB, free: 55.62 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000292/0.2088, allocations: 0.6673 MB / 460.2 MB, free: 55.23 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004178/0.2093, allocations: 0.748 MB / 460.9 MB, free: 54.88 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002885/0.2121, allocations: 4.075 MB / 465 MB, free: 53.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.2122, allocations: 0 / 465 MB, free: 53.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.2122, allocations: 2.656 kB / 465 MB, free: 53.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.02e-05/0.2122, allocations: 0 / 465 MB, free: 53.04 MB / 410.7 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.002055/0.2142, allocations: 2.593 MB / 467.6 MB, free: 51.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.2143, allocations: 9.5 kB / 467.6 MB, free: 51.43 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002009/0.2145, allocations: 337.7 kB / 467.9 MB, free: 51.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004694/0.2149, allocations: 441.4 kB / 468.4 MB, free: 51.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/0.216, allocations: 1.278 MB / 469.6 MB, free: 50.17 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001383/0.2162, allocations: 279.5 kB / 469.9 MB, free: 49.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000157/0.2163, allocations: 207.8 kB / 470.1 MB, free: 49.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004267/0.2206, allocations: 7.401 MB / 477.5 MB, free: 46.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.791e-05/0.2206, allocations: 384 / 477.5 MB, free: 46.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.351e-05/0.2207, allocations: 87.3 kB / 477.6 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000187/0.2209, allocations: 329 kB / 477.9 MB, free: 46.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009622/0.2305, allocations: 13.33 MB / 491.3 MB, free: 41.53 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01105/0.2416, allocations: 11.05 MB / 0.4905 GB, free: 36.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.2426, allocations: 0.7435 MB / 0.4913 GB, free: 35.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004605/0.2431, allocations: 403.6 kB / 0.4917 GB, free: 35.69 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003902/0.247, allocations: 3.478 MB / 0.4951 GB, free: 32.81 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.247, allocations: 47 kB / 0.4951 GB, free: 32.76 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 2.775e-06/0.247, allocations: 0 / 0.4951 GB, free: 32.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=67): time 0.003952/0.2509, allocations: 2.599 MB / 0.4976 GB, free: 30.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.251, allocations: 60.06 kB / 0.4977 GB, free: 30.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.2524, allocations: 1.538 MB / 0.4992 GB, free: 28.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.905e-05/0.2524, allocations: 33.7 kB / 0.4992 GB, free: 28.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004696/0.2529, allocations: 1.144 MB / 0.5003 GB, free: 27.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/0.253, allocations: 255.7 kB / 0.5006 GB, free: 27.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002423/0.2533, allocations: 308.2 kB / 0.5009 GB, free: 27.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.846e-05/0.2533, allocations: 348.2 kB / 0.5012 GB, free: 27.01 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003996/0.2537, allocations: 382.6 kB / 0.5016 GB, free: 26.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005338/0.2543, allocations: 0.8555 MB / 0.5024 GB, free: 25.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.2553, allocations: 1.335 MB / 0.5037 GB, free: 24.15 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.2553, allocations: 4 kB / 0.5037 GB, free: 24.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001922/0.2572, allocations: 1.607 MB / 0.5053 GB, free: 22.69 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/0.2572, allocations: 12 kB / 0.5053 GB, free: 22.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.2573, allocations: 20 kB / 0.5053 GB, free: 22.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000281/0.2575, allocations: 130.9 kB / 0.5054 GB, free: 22.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/0.2589, allocations: 0.5415 MB / 0.506 GB, free: 22.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/0.2603, allocations: 2.765 MB / 0.5087 GB, free: 19.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006447/0.2609, allocations: 46.91 kB / 0.5087 GB, free: 19.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001401/0.2611, allocations: 183.2 kB / 0.5089 GB, free: 18.98 MB / 410.7 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.0008162/0.2619, allocations: 0.6118 MB / 0.5095 GB, free: 18.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/0.262, allocations: 170.9 kB / 0.5097 GB, free: 18.24 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001998/0.264, allocations: 1.54 MB / 0.5112 GB, free: 17.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.264, allocations: 4 kB / 0.5112 GB, free: 17.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.264, allocations: 4.547 kB / 0.5112 GB, free: 17.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.264, allocations: 2.719 kB / 0.5112 GB, free: 17.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002892/0.2669, allocations: 2.595 MB / 0.5137 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.2669, allocations: 2.688 kB / 0.5137 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009696/0.2679, allocations: 309.7 kB / 0.514 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001557/0.2681, allocations: 111.1 kB / 0.5141 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.005e-05/0.2681, allocations: 19.8 kB / 0.5141 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001627/0.2697, allocations: 2.734 MB / 0.5168 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.2697, allocations: 4 kB / 0.5168 GB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001428/0.2711, allocations: 1.289 MB / 0.5181 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002121/0.2714, allocations: 165.6 kB / 0.5182 GB, free: 10.17 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.909e-05/0.2715, allocations: 30.45 kB / 0.5182 GB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002849/0.2717, allocations: 22.25 kB / 0.5183 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.266e-05/0.2718, allocations: 50.16 kB / 0.5183 GB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.338e-05/0.2718, allocations: 22.77 kB / 0.5183 GB, free: 10.08 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008569/0.2727, allocations: 1.152 MB / 0.5195 GB, free: 9.102 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2727, allocations: 3.938 kB / 0.5195 GB, free: 9.098 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001072/0.2738, allocations: 435.8 kB / 0.5199 GB, free: 8.676 MB / 410.7 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.001825/0.2756, allocations: 2.103 MB / 0.5219 GB, free: 6.664 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001361/0.2769, allocations: 1.102 MB / 0.523 GB, free: 5.637 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2769, allocations: 0 / 0.523 GB, free: 5.637 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000434/0.2774, allocations: 496.6 kB / 0.5235 GB, free: 5.164 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.2784, allocations: 435.7 kB / 0.5239 GB, free: 4.812 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01448/0.2929, allocations: 14.01 MB / 0.5376 GB, free: 6.043 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007944/0.2937, allocations: 1.014 MB / 0.5386 GB, free: 5.012 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001024/0.2947, allocations: 492.8 kB / 0.539 GB, free: 4.633 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008288/0.2955, allocations: 0.9376 MB / 0.54 GB, free: 3.711 MB / 426.7 MB Notification: Performance of SimCode: time 1.042e-06/0.2955, allocations: 0 / 0.54 GB, free: 3.711 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05888/0.3544, allocations: 47.03 MB / 0.5859 GB, free: 5.531 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.478/7.833, allocations: 10.27 kB / 0.5859 GB, free: 5.527 MB / 474.7 MB " [Timeout remaining time 652] (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: 9.587778294458985] Failed to read output from testmodel.py, exit status != 0: 7.934469643980265 7.942115152 7.728126049 Calling exit ...