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.001257/0.001257, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.001494/0.001494, allocations: 217.3 kB / 22.25 MB, free: 5.105 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.489/1.489, allocations: 230.6 MB / 256 MB, free: 7.812 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.1488/0.1488, allocations: 23.93 MB / 336.4 MB, free: 10.94 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.001917/0.001917, allocations: 59.91 kB / 471.2 MB, free: 7.492 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3386, allocations: 59.88 MB / 0.5186 GB, free: 9.496 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.07394/0.4125, allocations: 28.4 MB / 0.5463 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01524/0.4278, allocations: 7.984 MB / 0.5541 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002244/0.43, allocations: 35.81 kB / 0.5542 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003555/0.4336, allocations: 0.9365 MB / 0.5551 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003536/0.4371, allocations: 0.8481 MB / 0.5559 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003157/0.4403, allocations: 0.903 MB / 0.5568 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003623/0.4439, allocations: 1.977 MB / 0.5587 GB, free: 136 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007711/0.4447, allocations: 438.7 kB / 0.5591 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001199/0.4459, allocations: 0.8388 MB / 0.56 GB, free: 14.94 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001625/0.4475, allocations: 1.11 MB / 0.561 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003474/0.4478, allocations: 208 kB / 0.5612 GB, free: 13.81 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00308/0.4509, allocations: 1.063 MB / 0.5623 GB, free: 12.87 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006726/0.4516, allocations: 0.593 MB / 0.5629 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001102/0.4527, allocations: 0.8633 MB / 0.5637 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006509/0.4592, allocations: 3.842 MB / 0.5674 GB, free: 7.781 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4592, allocations: 0 / 0.5674 GB, free: 7.781 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.4592, allocations: 0 / 0.5674 GB, free: 7.781 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.389e-05/0.4593, allocations: 0 / 0.5674 GB, free: 7.781 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.004417/0.4637, allocations: 2.534 MB / 0.5699 GB, free: 5.203 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.4637, allocations: 8.031 kB / 0.5699 GB, free: 5.195 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003674/0.4641, allocations: 330.1 kB / 0.5702 GB, free: 4.863 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000893/0.465, allocations: 415 kB / 0.5706 GB, free: 4.457 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/0.4665, allocations: 0.9129 MB / 0.5715 GB, free: 3.516 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002589/0.4668, allocations: 271.4 kB / 0.5718 GB, free: 3.223 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002786/0.4671, allocations: 204.3 kB / 0.572 GB, free: 3.023 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008176/0.4752, allocations: 6.891 MB / 0.5787 GB, free: 12.08 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.229e-05/0.4753, allocations: 0 / 0.5787 GB, free: 12.08 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001511/0.4754, allocations: 87.98 kB / 0.5788 GB, free: 11.99 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003661/0.4758, allocations: 328.8 kB / 0.5791 GB, free: 11.67 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01382/0.4896, allocations: 12.59 MB / 0.5914 GB, free: 15.06 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01644/0.506, allocations: 10.65 MB / 0.6018 GB, free: 4.305 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/0.5075, allocations: 0.7359 MB / 0.6025 GB, free: 3.559 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006714/0.5082, allocations: 390.7 kB / 0.6029 GB, free: 3.176 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006575/0.5148, allocations: 3.314 MB / 0.6061 GB, free: 15.83 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/0.5148, allocations: 43.05 kB / 0.6062 GB, free: 15.78 MB / 462.1 MB Notification: Performance of pre-optimization done (n=60): time 2.675e-06/0.5148, allocations: 7.938 kB / 0.6062 GB, free: 15.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=68): time 0.006401/0.5212, allocations: 2.623 MB / 0.6087 GB, free: 13.09 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.5213, allocations: 64.06 kB / 0.6088 GB, free: 13.02 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002024/0.5233, allocations: 1.512 MB / 0.6103 GB, free: 11.5 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.007e-05/0.5234, allocations: 37.7 kB / 0.6103 GB, free: 11.46 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000879/0.5242, allocations: 1.122 MB / 0.6114 GB, free: 10.32 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002609/0.5245, allocations: 257.8 kB / 0.6117 GB, free: 10.07 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000433/0.5249, allocations: 294.8 kB / 0.6119 GB, free: 9.77 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.5251, allocations: 357.9 kB / 0.6123 GB, free: 9.414 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006882/0.5258, allocations: 382.5 kB / 0.6126 GB, free: 9.043 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.5269, allocations: 0.8243 MB / 0.6135 GB, free: 8.004 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001904/0.5288, allocations: 1.286 MB / 0.6147 GB, free: 6.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.5288, allocations: 4 kB / 0.6147 GB, free: 6.496 MB / 462.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003449/0.5322, allocations: 1.584 MB / 0.6163 GB, free: 4.898 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.987e-05/0.5323, allocations: 15.94 kB / 0.6163 GB, free: 4.883 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.42e-05/0.5323, allocations: 16 kB / 0.6163 GB, free: 4.867 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003684/0.5327, allocations: 117.7 kB / 0.6164 GB, free: 4.746 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002283/0.535, allocations: 455.5 kB / 0.6168 GB, free: 4.301 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003092/0.538, allocations: 2.765 MB / 0.6195 GB, free: 1.305 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000954/0.539, allocations: 39.98 kB / 0.6196 GB, free: 1.266 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002642/0.5393, allocations: 184 kB / 0.6198 GB, free: 1.086 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.001294/0.5406, allocations: 0.6068 MB / 0.6203 GB, free: 480 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003628/0.5409, allocations: 166.9 kB / 0.6205 GB, free: 312 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003649/0.5446, allocations: 1.542 MB / 0.622 GB, free: 14.72 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.701e-05/0.5446, allocations: 11.94 kB / 0.622 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.5446, allocations: 0 / 0.622 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.5446, allocations: 3.984 kB / 0.622 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005161/0.5498, allocations: 2.594 MB / 0.6246 GB, free: 12.01 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.397e-06/0.5498, allocations: 7.984 kB / 0.6246 GB, free: 12 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001587/0.5514, allocations: 212.2 kB / 0.6248 GB, free: 11.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002934/0.5517, allocations: 105.7 kB / 0.6249 GB, free: 11.69 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.516e-05/0.5517, allocations: 19.98 kB / 0.6249 GB, free: 11.67 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003285/0.555, allocations: 2.742 MB / 0.6276 GB, free: 8.695 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.636e-06/0.555, allocations: 11.88 kB / 0.6276 GB, free: 8.684 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00314/0.5581, allocations: 1.24 MB / 0.6288 GB, free: 7.375 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005039/0.5586, allocations: 174.8 kB / 0.629 GB, free: 7.203 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002023/0.5588, allocations: 16 kB / 0.629 GB, free: 7.188 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005034/0.5593, allocations: 19.98 kB / 0.629 GB, free: 7.168 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.5595, allocations: 60.22 kB / 0.629 GB, free: 7.109 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.637e-05/0.5595, allocations: 23.98 kB / 0.6291 GB, free: 7.086 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001737/0.5612, allocations: 1.133 MB / 0.6302 GB, free: 5.961 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5612, allocations: 0 / 0.6302 GB, free: 5.961 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00161/0.5629, allocations: 411.7 kB / 0.6306 GB, free: 5.559 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.003573/0.5664, allocations: 2.057 MB / 0.6326 GB, free: 3.426 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002355/0.5688, allocations: 1.066 MB / 0.6336 GB, free: 2.34 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.293e-06/0.5688, allocations: 4 kB / 0.6336 GB, free: 2.336 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009335/0.5697, allocations: 475.7 kB / 0.6341 GB, free: 1.848 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001916/0.5716, allocations: 423.9 kB / 0.6345 GB, free: 1.441 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02416/0.5958, allocations: 13.45 MB / 0.6476 GB, free: 3.258 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001306/0.5971, allocations: 1.012 MB / 0.6486 GB, free: 2.207 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001485/0.5986, allocations: 446.3 kB / 0.649 GB, free: 1.766 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001345/0.5999, allocations: 0.9093 MB / 0.6499 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of SimCode: time 1.142e-06/0.5999, allocations: 4 kB / 0.6499 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1071/0.7071, allocations: 46.09 MB / 0.6949 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.36/14.06, allocations: 3.984 kB / 0.6949 GB, free: 3.109 MB / 0.5294 GB " [Timeout remaining time 646] (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: 16.905027351982426] Failed to read output from testmodel.py, exit status != 0: 14.198685232986463 14.213759147 13.751426173 Calling exit ...