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.001773/0.001773, 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.002274/0.002274, allocations: 214.7 kB / 22.25 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.547/1.547, allocations: 230.6 MB / 256 MB, free: 7.789 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.1781/0.1781, allocations: 23.88 MB / 336.3 MB, free: 10.96 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Boundaries.Tests.TestBoundaries,fileNamePrefix="Chemical_Chemical_Boundaries_Tests_TestBoundaries",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.002148/0.002148, allocations: 68.19 kB / 471.1 MB, free: 7.531 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4114/0.4136, allocations: 59.86 MB / 0.5185 GB, free: 9.598 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.08126/0.4948, allocations: 32.74 MB / 0.5505 GB, free: 7.316 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01194/0.5068, allocations: 5.601 MB / 0.556 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003348/0.5101, allocations: 43.75 kB / 0.556 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004864/0.515, allocations: 1.251 MB / 0.5572 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004939/0.5199, allocations: 0.9766 MB / 0.5582 GB, free: 432 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00221/0.5221, allocations: 427 kB / 0.5586 GB, free: 116 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007094/0.5292, allocations: 2.605 MB / 0.5611 GB, free: 13.71 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003883/0.5331, allocations: 0.9915 MB / 0.5621 GB, free: 12.77 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00278/0.5359, allocations: 1.089 MB / 0.5632 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002571/0.5385, allocations: 1.067 MB / 0.5642 GB, free: 10.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001059/0.5395, allocations: 284 kB / 0.5645 GB, free: 10.56 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003305/0.5428, allocations: 0.7479 MB / 0.5652 GB, free: 9.887 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001469/0.5443, allocations: 0.8192 MB / 0.566 GB, free: 9.168 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003304/0.5476, allocations: 1.33 MB / 0.5673 GB, free: 7.855 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009521/0.5571, allocations: 5.038 MB / 0.5722 GB, free: 2.797 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.5571, allocations: 0 / 0.5722 GB, free: 2.797 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.5571, allocations: 0 / 0.5722 GB, free: 2.797 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002056/0.5573, allocations: 0 / 0.5722 GB, free: 2.797 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.00965/0.567, allocations: 3.803 MB / 0.5759 GB, free: 14.94 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.631e-05/0.567, allocations: 11.97 kB / 0.576 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001147/0.5682, allocations: 481.6 kB / 0.5764 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001327/0.5695, allocations: 490.1 kB / 0.5769 GB, free: 13.97 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003472/0.573, allocations: 1.428 MB / 0.5783 GB, free: 12.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002748/0.5733, allocations: 242.5 kB / 0.5785 GB, free: 12.27 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006885/0.574, allocations: 315.9 kB / 0.5788 GB, free: 11.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008893/0.5829, allocations: 4.712 MB / 0.5834 GB, free: 6.82 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001299/0.583, allocations: 23.75 kB / 0.5834 GB, free: 6.797 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004491/0.5834, allocations: 144 kB / 0.5836 GB, free: 6.656 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004741/0.5839, allocations: 337.8 kB / 0.5839 GB, free: 6.324 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006696/0.5906, allocations: 3.583 MB / 0.5874 GB, free: 2.742 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.02954/0.6201, allocations: 19.96 MB / 0.6069 GB, free: 14.13 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/0.6216, allocations: 0.713 MB / 0.6076 GB, free: 13.33 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007352/0.6223, allocations: 468.4 kB / 0.608 GB, free: 12.84 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003998/0.6227, allocations: 77.56 kB / 0.6081 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.312e-05/0.6227, allocations: 46.5 kB / 0.6082 GB, free: 12.71 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.655e-06/0.6227, allocations: 0 / 0.6082 GB, free: 12.71 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.003696/0.6264, allocations: 1.735 MB / 0.6098 GB, free: 10.96 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001998/0.6266, allocations: 294.7 kB / 0.6101 GB, free: 10.61 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006565/0.6332, allocations: 4.329 MB / 0.6144 GB, free: 6.262 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.615e-05/0.6333, allocations: 29.7 kB / 0.6144 GB, free: 6.227 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001961/0.6352, allocations: 1.752 MB / 0.6161 GB, free: 4.461 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001868/0.6354, allocations: 115 kB / 0.6162 GB, free: 4.348 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003243/0.6357, allocations: 158.5 kB / 0.6164 GB, free: 4.188 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002217/0.636, allocations: 333.9 kB / 0.6167 GB, free: 3.855 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008405/0.6368, allocations: 465.7 kB / 0.6171 GB, free: 3.398 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001278/0.6381, allocations: 0.8446 MB / 0.6179 GB, free: 2.363 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001985/0.6401, allocations: 1.356 MB / 0.6193 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.121e-05/0.6401, allocations: 11.94 kB / 0.6193 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003169/0.6433, allocations: 1.661 MB / 0.6209 GB, free: 15.13 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.6433, allocations: 12.19 kB / 0.6209 GB, free: 15.12 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.258e-05/0.6433, allocations: 20 kB / 0.6209 GB, free: 15.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002816/0.6436, allocations: 61.69 kB / 0.621 GB, free: 15.03 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006326/0.6442, allocations: 191.8 kB / 0.6212 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002726/0.6469, allocations: 2.589 MB / 0.6237 GB, free: 12.02 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001889/0.6488, allocations: 364.5 kB / 0.624 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/0.6489, allocations: 64.25 kB / 0.6241 GB, free: 11.6 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.001565/0.6505, allocations: 0.7593 MB / 0.6249 GB, free: 10.83 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006167/0.6511, allocations: 361.5 kB / 0.6252 GB, free: 10.48 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002139/0.6533, allocations: 1.071 MB / 0.6262 GB, free: 9.387 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.6533, allocations: 7.938 kB / 0.6262 GB, free: 9.379 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.6533, allocations: 4 kB / 0.6263 GB, free: 9.375 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.6533, allocations: 4.062 kB / 0.6263 GB, free: 9.371 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003276/0.6566, allocations: 1.807 MB / 0.628 GB, free: 7.512 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.6566, allocations: 0 / 0.628 GB, free: 7.512 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003449/0.6569, allocations: 80.02 kB / 0.6281 GB, free: 7.434 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001726/0.6571, allocations: 49.62 kB / 0.6281 GB, free: 7.379 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.709e-05/0.6571, allocations: 15.98 kB / 0.6282 GB, free: 7.363 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002203/0.6593, allocations: 2.551 MB / 0.6307 GB, free: 4.582 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.6593, allocations: 7.969 kB / 0.6307 GB, free: 4.574 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002428/0.6618, allocations: 2.036 MB / 0.6326 GB, free: 2.504 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001114/0.6629, allocations: 477.4 kB / 0.6331 GB, free: 2.035 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002959/0.6632, allocations: 8 kB / 0.6331 GB, free: 2.027 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009267/0.6641, allocations: 19.98 kB / 0.6331 GB, free: 2.008 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.6642, allocations: 43.81 kB / 0.6332 GB, free: 1.965 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.954e-05/0.6642, allocations: 16 kB / 0.6332 GB, free: 1.949 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005149/0.6694, allocations: 3.241 MB / 0.6364 GB, free: 14.71 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6694, allocations: 0 / 0.6364 GB, free: 14.71 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001906/0.6713, allocations: 0.5304 MB / 0.6369 GB, free: 14.18 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.003133/0.6744, allocations: 2.706 MB / 0.6395 GB, free: 11.43 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001933/0.6764, allocations: 1.039 MB / 0.6405 GB, free: 10.37 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.6764, allocations: 0 / 0.6405 GB, free: 10.37 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008139/0.6772, allocations: 0.501 MB / 0.641 GB, free: 9.844 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003749/0.6809, allocations: 0.8226 MB / 0.6418 GB, free: 9.031 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04803/0.7289, allocations: 30.3 MB / 0.6714 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001905/0.7309, allocations: 1.44 MB / 0.6728 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001545/0.7324, allocations: 401.3 kB / 0.6732 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001917/0.7343, allocations: 1.378 MB / 0.6745 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of SimCode: time 1.422e-06/0.7343, allocations: 0 / 0.6745 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4734/1.208, allocations: 73.44 MB / 0.7463 GB, free: 177.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.77/18.98, allocations: 3.094 kB / 0.7463 GB, free: 177.8 MB / 0.5606 GB " [Timeout remaining time 641] (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: 22.308233874849975] Failed to read output from testmodel.py, exit status != 0: 19.143921638838947 19.156521408 18.596724145 Calling exit ...