Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Boundaries.Tests.TestBoundaries.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.001281/0.001281, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001427/0.001427, allocations: 213.6 kB / 23.03 MB, free: 4.922 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.535/1.535, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1441/0.1441, allocations: 23.88 MB / 337.1 MB, free: 11.05 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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.Boundaries.Tests.TestBoundaries,fileNamePrefix="Chemical_Chemical_Boundaries_Tests_TestBoundaries",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Boundaries.Tests.TestBoundaries,fileNamePrefix="Chemical_Chemical_Boundaries_Tests_TestBoundaries",fmuType="cs",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.002082/0.002082, allocations: 63.89 kB / 471.9 MB, free: 7.512 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.367, allocations: 59.86 MB / 0.5193 GB, free: 9.5 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:1564:5-1564:64: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 2.0.0/Interfaces.mo:1564:5-1564:64: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.Boundaries.Tests.TestBoundaries): time 0.08127/0.4482, allocations: 32.35 MB / 0.5509 GB, free: 7.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01196/0.4602, allocations: 5.601 MB / 0.5564 GB, free: 2.645 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003358/0.4636, allocations: 43.75 kB / 0.5564 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004642/0.4682, allocations: 1.266 MB / 0.5576 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003929/0.4721, allocations: 0.9725 MB / 0.5586 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001962/0.4741, allocations: 438.6 kB / 0.559 GB, free: 472 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005862/0.48, allocations: 2.614 MB / 0.5616 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001658/0.4816, allocations: 0.9994 MB / 0.5625 GB, free: 13.1 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001764/0.4834, allocations: 1.1 MB / 0.5636 GB, free: 12.07 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001959/0.4853, allocations: 1.295 MB / 0.5649 GB, free: 10.93 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004363/0.4858, allocations: 284 kB / 0.5651 GB, free: 10.65 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002236/0.488, allocations: 0.7627 MB / 0.5659 GB, free: 9.961 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008776/0.4889, allocations: 0.8161 MB / 0.5667 GB, free: 9.246 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00171/0.4906, allocations: 1.325 MB / 0.568 GB, free: 7.977 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007527/0.4981, allocations: 5.038 MB / 0.5729 GB, free: 2.918 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.388e-06/0.4981, allocations: 0 / 0.5729 GB, free: 2.918 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.4981, allocations: 0 / 0.5729 GB, free: 2.918 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001219/0.4983, allocations: 0 / 0.5729 GB, free: 2.918 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: 918 * Number of variables: 918 Notification: Performance of Generate backend data structure: time 0.005978/0.5042, allocations: 3.796 MB / 0.5766 GB, free: 15.07 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.738e-05/0.5043, allocations: 15.97 kB / 0.5766 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001039/0.5044, allocations: 86.62 kB / 0.5767 GB, free: 14.97 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005952/0.505, allocations: 477.7 kB / 0.5772 GB, free: 14.49 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009365/0.5059, allocations: 494.1 kB / 0.5776 GB, free: 14.01 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002456/0.5084, allocations: 1.424 MB / 0.579 GB, free: 12.55 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002324/0.5086, allocations: 242.4 kB / 0.5793 GB, free: 12.31 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004372/0.5091, allocations: 323.9 kB / 0.5796 GB, free: 11.99 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007073/0.5161, allocations: 4.712 MB / 0.5842 GB, free: 6.855 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.171e-05/0.5162, allocations: 19.81 kB / 0.5842 GB, free: 6.836 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002553/0.5165, allocations: 144 kB / 0.5843 GB, free: 6.695 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004184/0.5169, allocations: 345.8 kB / 0.5846 GB, free: 6.355 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005682/0.5226, allocations: 3.583 MB / 0.5881 GB, free: 2.773 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02386/0.5464, allocations: 19.96 MB / 0.6076 GB, free: 14.16 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/0.5477, allocations: 0.7052 MB / 0.6083 GB, free: 13.36 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006702/0.5483, allocations: 468.5 kB / 0.6088 GB, free: 12.88 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004372/0.5488, allocations: 85.44 kB / 0.6089 GB, free: 12.79 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.116e-05/0.5488, allocations: 46.5 kB / 0.6089 GB, free: 12.74 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.675e-06/0.5488, allocations: 0 / 0.6089 GB, free: 12.74 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.00331/0.5521, allocations: 1.724 MB / 0.6106 GB, free: 11 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001708/0.5523, allocations: 294.7 kB / 0.6109 GB, free: 10.65 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006427/0.5587, allocations: 4.309 MB / 0.6151 GB, free: 6.324 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.699e-05/0.5588, allocations: 33.7 kB / 0.6151 GB, free: 6.285 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00181/0.5606, allocations: 1.756 MB / 0.6168 GB, free: 4.516 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/0.5608, allocations: 111.1 kB / 0.6169 GB, free: 4.406 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002814/0.561, allocations: 162.5 kB / 0.6171 GB, free: 4.242 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.5612, allocations: 337.9 kB / 0.6174 GB, free: 3.906 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007597/0.562, allocations: 461.8 kB / 0.6178 GB, free: 3.453 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001063/0.5631, allocations: 0.8445 MB / 0.6187 GB, free: 2.422 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001943/0.565, allocations: 1.372 MB / 0.62 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/0.565, allocations: 4 kB / 0.62 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003301/0.5683, allocations: 1.664 MB / 0.6216 GB, free: 15.18 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.433e-05/0.5683, allocations: 8 kB / 0.6216 GB, free: 15.17 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.94e-05/0.5684, allocations: 16 kB / 0.6217 GB, free: 15.15 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002769/0.5687, allocations: 70.3 kB / 0.6217 GB, free: 15.08 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000582/0.5692, allocations: 187.7 kB / 0.6219 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002264/0.5715, allocations: 2.59 MB / 0.6244 GB, free: 12.07 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001859/0.5734, allocations: 356.6 kB / 0.6248 GB, free: 11.72 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/0.5735, allocations: 67.98 kB / 0.6248 GB, free: 11.66 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 84 * 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.00158/0.5751, allocations: 0.7619 MB / 0.6256 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006859/0.5757, allocations: 365.7 kB / 0.6259 GB, free: 10.53 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002156/0.5779, allocations: 1.068 MB / 0.627 GB, free: 9.441 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.5779, allocations: 8 kB / 0.627 GB, free: 9.434 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.5779, allocations: 4 kB / 0.627 GB, free: 9.43 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.5779, allocations: 4 kB / 0.627 GB, free: 9.426 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003641/0.5816, allocations: 1.803 MB / 0.6288 GB, free: 7.57 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.5816, allocations: 4 kB / 0.6288 GB, free: 7.566 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003587/0.5819, allocations: 79.95 kB / 0.6288 GB, free: 7.488 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001931/0.5821, allocations: 41.69 kB / 0.6289 GB, free: 7.441 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.286e-05/0.5822, allocations: 19.98 kB / 0.6289 GB, free: 7.422 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002498/0.5847, allocations: 2.558 MB / 0.6314 GB, free: 4.633 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.5847, allocations: 4 kB / 0.6314 GB, free: 4.629 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002565/0.5872, allocations: 2.036 MB / 0.6334 GB, free: 2.559 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001109/0.5883, allocations: 473.4 kB / 0.6338 GB, free: 2.094 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003203/0.5887, allocations: 8 kB / 0.6338 GB, free: 2.086 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009305/0.5896, allocations: 27.92 kB / 0.6339 GB, free: 2.059 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.5897, allocations: 35.94 kB / 0.6339 GB, free: 2.023 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/0.5897, allocations: 12 kB / 0.6339 GB, free: 2.012 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00525/0.595, allocations: 3.245 MB / 0.6371 GB, free: 14.77 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.595, allocations: 0 / 0.6371 GB, free: 14.77 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002462/0.5974, allocations: 0.5305 MB / 0.6376 GB, free: 14.23 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (boundary_fore.rear.n_flow,terminalInflow.u,terminalOutflow.u,boundary_fore2.rear.n_flow,terminalInflow1.u,terminalOutflow1.u,solution.temperature) * 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 (28): * Single equations (assignments): 26 * 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.003263/0.6007, allocations: 2.709 MB / 0.6402 GB, free: 11.48 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001925/0.6026, allocations: 1.028 MB / 0.6413 GB, free: 10.43 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.6026, allocations: 4.062 kB / 0.6413 GB, free: 10.43 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007804/0.6034, allocations: 0.5127 MB / 0.6418 GB, free: 9.891 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004824/0.6082, allocations: 0.82 MB / 0.6426 GB, free: 9.082 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05661/0.6649, allocations: 30.3 MB / 0.6721 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001813/0.6667, allocations: 1.436 MB / 0.6735 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001593/0.6683, allocations: 401.3 kB / 0.6739 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001905/0.6702, allocations: 1.386 MB / 0.6753 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of SimCode: time 1.593e-06/0.6702, allocations: 0 / 0.6753 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4257/1.096, allocations: 72.47 MB / 0.746 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.67/23.77, allocations: 6.031 kB / 0.7461 GB, free: 177.9 MB / 0.5606 GB " [Timeout remaining time 636] (rm -f Chemical_Chemical.Boundaries.Tests.TestBoundaries.pipe ; mkfifo Chemical_Chemical.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < Chemical_Chemical.Boundaries.Tests.TestBoundaries.pipe >> ../files/Chemical_Chemical.Boundaries.Tests.TestBoundaries.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Boundaries_Tests_TestBoundaries_fmu --startTime=0 --stopTime=10 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Boundaries_Tests_TestBoundaries.fmu > Chemical_Chemical.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 27.108300087042153] Failed to read output from testmodel.py, exit status != 0: 23.988159031025134 24.009815638 23.507486342 Calling exit ...