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.001349/0.001349, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00159/0.00159, allocations: 207.3 kB / 22.24 MB, free: 5.262 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.479/1.479, allocations: 230.6 MB / 256 MB, free: 7.785 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.1412/0.1412, allocations: 23.99 MB / 336.4 MB, free: 10.86 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.002137/0.002137, allocations: 67.89 kB / 471.3 MB, free: 7.383 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3405, allocations: 59.9 MB / 0.5187 GB, free: 9.453 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.08517/0.4256, allocations: 28.62 MB / 0.5467 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02563/0.4513, allocations: 8.237 MB / 0.5547 GB, free: 3.531 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002507/0.4538, allocations: 31.81 kB / 0.5547 GB, free: 3.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005448/0.4592, allocations: 0.9319 MB / 0.5557 GB, free: 2.785 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004468/0.4637, allocations: 0.8654 MB / 0.5565 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002879/0.4666, allocations: 0.9664 MB / 0.5574 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003231/0.4698, allocations: 2.015 MB / 0.5594 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007751/0.4706, allocations: 439 kB / 0.5598 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001263/0.4718, allocations: 0.8398 MB / 0.5606 GB, free: 14.31 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001763/0.4736, allocations: 0.9915 MB / 0.5616 GB, free: 13.51 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005018/0.4741, allocations: 215.9 kB / 0.5618 GB, free: 13.3 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002983/0.4771, allocations: 1.093 MB / 0.5629 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007592/0.4779, allocations: 0.5937 MB / 0.5635 GB, free: 11.83 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001386/0.4792, allocations: 0.8774 MB / 0.5643 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005838/0.4851, allocations: 3.908 MB / 0.5681 GB, free: 7.062 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.4851, allocations: 4 kB / 0.5681 GB, free: 7.059 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4851, allocations: 0 / 0.5681 GB, free: 7.059 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001025/0.4852, allocations: 0 / 0.5681 GB, free: 7.059 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.004945/0.4901, allocations: 2.557 MB / 0.5706 GB, free: 4.453 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.4902, allocations: 8.031 kB / 0.5706 GB, free: 4.445 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004868/0.4907, allocations: 338.2 kB / 0.571 GB, free: 4.105 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008987/0.4916, allocations: 411 kB / 0.5714 GB, free: 3.703 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/0.4931, allocations: 0.9207 MB / 0.5723 GB, free: 2.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002506/0.4934, allocations: 271.4 kB / 0.5725 GB, free: 2.457 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002767/0.4936, allocations: 204.3 kB / 0.5727 GB, free: 2.258 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008714/0.5023, allocations: 7.413 MB / 0.58 GB, free: 10.78 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.076e-05/0.5024, allocations: 0 / 0.58 GB, free: 10.78 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001513/0.5025, allocations: 79.98 kB / 0.58 GB, free: 10.7 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003608/0.5029, allocations: 332.7 kB / 0.5803 GB, free: 10.37 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01467/0.5176, allocations: 13.33 MB / 0.5934 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01938/0.537, allocations: 11.03 MB / 0.6041 GB, free: 1.883 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/0.5386, allocations: 0.7343 MB / 0.6049 GB, free: 1.141 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000717/0.5393, allocations: 407.7 kB / 0.6052 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007196/0.5465, allocations: 3.487 MB / 0.6086 GB, free: 13.23 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.5465, allocations: 39 kB / 0.6087 GB, free: 13.18 MB / 462.1 MB Notification: Performance of pre-optimization done (n=60): time 2.615e-06/0.5465, allocations: 0 / 0.6087 GB, free: 13.18 MB / 462.1 MB Notification: Performance of matching and sorting (n=67): time 0.00651/0.5531, allocations: 2.602 MB / 0.6112 GB, free: 10.52 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.438e-05/0.5531, allocations: 67.94 kB / 0.6113 GB, free: 10.45 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002012/0.5551, allocations: 1.529 MB / 0.6128 GB, free: 8.91 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001037/0.5552, allocations: 37.7 kB / 0.6128 GB, free: 8.867 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009216/0.5561, allocations: 1.149 MB / 0.6139 GB, free: 7.703 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000256/0.5564, allocations: 245.9 kB / 0.6142 GB, free: 7.461 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004489/0.5569, allocations: 310.7 kB / 0.6145 GB, free: 7.152 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.557, allocations: 349.9 kB / 0.6148 GB, free: 6.805 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007196/0.5577, allocations: 382.5 kB / 0.6152 GB, free: 6.43 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001128/0.5589, allocations: 0.8558 MB / 0.616 GB, free: 5.344 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00199/0.5609, allocations: 1.333 MB / 0.6173 GB, free: 3.777 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.246e-05/0.5609, allocations: 4 kB / 0.6173 GB, free: 3.773 MB / 462.1 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003694/0.5646, allocations: 1.604 MB / 0.6189 GB, free: 2.156 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.912e-05/0.5646, allocations: 12 kB / 0.6189 GB, free: 2.145 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.209e-05/0.5646, allocations: 16 kB / 0.6189 GB, free: 2.129 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003654/0.565, allocations: 133.8 kB / 0.619 GB, free: 1.992 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002777/0.5678, allocations: 0.5384 MB / 0.6196 GB, free: 1.453 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003058/0.5708, allocations: 2.765 MB / 0.6223 GB, free: 14.46 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009367/0.5717, allocations: 51.98 kB / 0.6223 GB, free: 14.41 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00024/0.572, allocations: 180.2 kB / 0.6225 GB, free: 14.23 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.001045/0.573, allocations: 0.6028 MB / 0.6231 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003256/0.5734, allocations: 166.9 kB / 0.6232 GB, free: 13.45 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003819/0.5772, allocations: 1.542 MB / 0.6247 GB, free: 11.88 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.5772, allocations: 8 kB / 0.6247 GB, free: 11.87 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.5772, allocations: 0 / 0.6247 GB, free: 11.87 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.5772, allocations: 3.984 kB / 0.6247 GB, free: 11.86 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005141/0.5823, allocations: 2.586 MB / 0.6273 GB, free: 9.18 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/0.5824, allocations: 7.984 kB / 0.6273 GB, free: 9.172 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002102/0.5845, allocations: 312.1 kB / 0.6276 GB, free: 8.867 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002578/0.5847, allocations: 105.7 kB / 0.6277 GB, free: 8.758 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.023e-05/0.5848, allocations: 23.98 kB / 0.6277 GB, free: 8.734 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002873/0.5876, allocations: 2.738 MB / 0.6304 GB, free: 5.77 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.5876, allocations: 4 kB / 0.6304 GB, free: 5.766 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002986/0.5906, allocations: 1.286 MB / 0.6316 GB, free: 4.414 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003644/0.591, allocations: 162.9 kB / 0.6318 GB, free: 4.254 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001935/0.5912, allocations: 19.95 kB / 0.6318 GB, free: 4.234 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005752/0.5918, allocations: 28.06 kB / 0.6318 GB, free: 4.207 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.581e-05/0.5919, allocations: 52.22 kB / 0.6319 GB, free: 4.156 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.626e-05/0.5919, allocations: 23.98 kB / 0.6319 GB, free: 4.133 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001639/0.5935, allocations: 1.149 MB / 0.633 GB, free: 2.992 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5935, allocations: 0 / 0.633 GB, free: 2.992 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00142/0.595, allocations: 411.7 kB / 0.6334 GB, free: 2.59 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.003829/0.5988, allocations: 2.106 MB / 0.6355 GB, free: 412 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002535/0.6013, allocations: 1.105 MB / 0.6366 GB, free: 15.28 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/0.6013, allocations: 128 / 0.6366 GB, free: 15.28 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.6024, allocations: 495.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.001926/0.6043, allocations: 428.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.02296/0.6273, allocations: 13.69 MB / 0.6508 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00127/0.6285, allocations: 1.02 MB / 0.6518 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001449/0.63, allocations: 434.6 kB / 0.6522 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001409/0.6314, allocations: 0.9326 MB / 0.6531 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of SimCode: time 1.213e-06/0.6314, allocations: 0 / 0.6531 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1032/0.7346, allocations: 46.04 MB / 0.6981 GB, free: 15.76 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/14.2, allocations: 3.266 kB / 0.6981 GB, free: 15.76 MB / 0.545 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 & /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: 17.057241898961365] Failed to read output from testmodel.py, exit status != 0: 14.340789845678955 14.363612618 13.874175857 Calling exit ...