Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001621/0.001621, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.002098/0.002098, allocations: 217.3 kB / 23.04 MB, free: 5.074 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.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.142/0.142, allocations: 23.88 MB / 337.1 MB, free: 11.17 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/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.Boundaries.Tests.TestBoundaries,fileNamePrefix="Chemical_master_Chemical_Boundaries_Tests_TestBoundaries",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Boundaries.Tests.TestBoundaries,fileNamePrefix="Chemical_master_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.001964/0.001964, allocations: 59.91 kB / 472 MB, free: 7.652 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3315, allocations: 59.86 MB / 0.5194 GB, free: 9.582 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1562:5-1562: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 master/Interfaces.mo:1562:5-1562: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.04918/0.3806, allocations: 34.55 MB / 0.5531 GB, free: 5.676 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01168/0.3923, allocations: 6.209 MB / 0.5592 GB, free: 24 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003238/0.3956, allocations: 49.2 kB / 0.5592 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004362/0.3999, allocations: 1.354 MB / 0.5606 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003577/0.4035, allocations: 0.9687 MB / 0.5615 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001532/0.405, allocations: 446.5 kB / 0.5619 GB, free: 13.75 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004996/0.41, allocations: 2.603 MB / 0.5645 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001536/0.4116, allocations: 1.003 MB / 0.5655 GB, free: 10.39 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001502/0.4131, allocations: 1.092 MB / 0.5665 GB, free: 9.363 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001585/0.4147, allocations: 1.303 MB / 0.5678 GB, free: 8.215 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000454/0.4151, allocations: 284 kB / 0.5681 GB, free: 7.938 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00294/0.418, allocations: 1.341 MB / 0.5694 GB, free: 6.836 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008483/0.4189, allocations: 0.8174 MB / 0.5702 GB, free: 6.016 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001937/0.4208, allocations: 1.783 MB / 0.5719 GB, free: 4.223 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006784/0.4276, allocations: 5.175 MB / 0.577 GB, free: 15.03 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.4276, allocations: 0 / 0.577 GB, free: 15.03 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.4276, allocations: 0 / 0.577 GB, free: 15.03 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001018/0.4277, allocations: 3.938 kB / 0.577 GB, free: 15.02 MB / 430.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.00546/0.4332, allocations: 3.803 MB / 0.5807 GB, free: 11.17 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.4332, allocations: 8.031 kB / 0.5807 GB, free: 11.16 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.729e-05/0.4333, allocations: 90.62 kB / 0.5808 GB, free: 11.07 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005358/0.4339, allocations: 469.7 kB / 0.5812 GB, free: 10.6 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007979/0.4347, allocations: 498.1 kB / 0.5817 GB, free: 10.11 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0023/0.437, allocations: 1.432 MB / 0.5831 GB, free: 8.645 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001888/0.4371, allocations: 246.4 kB / 0.5833 GB, free: 8.402 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003718/0.4375, allocations: 319.9 kB / 0.5836 GB, free: 8.09 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006705/0.4442, allocations: 4.716 MB / 0.5883 GB, free: 2.949 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.429e-05/0.4443, allocations: 19.81 kB / 0.5883 GB, free: 2.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002522/0.4445, allocations: 144 kB / 0.5884 GB, free: 2.789 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003778/0.4449, allocations: 345.8 kB / 0.5887 GB, free: 2.449 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00555/0.4505, allocations: 3.575 MB / 0.5922 GB, free: 14.87 MB / 446.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.02699/0.4775, allocations: 21.24 MB / 0.613 GB, free: 8.898 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/0.4788, allocations: 0.713 MB / 0.6137 GB, free: 8.094 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006938/0.4795, allocations: 472.4 kB / 0.6141 GB, free: 7.602 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004044/0.4799, allocations: 86.25 kB / 0.6142 GB, free: 7.52 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.13e-05/0.4799, allocations: 42.5 kB / 0.6142 GB, free: 7.469 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 3.276e-06/0.4799, allocations: 8 kB / 0.6142 GB, free: 7.461 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.003338/0.4832, allocations: 1.727 MB / 0.6159 GB, free: 5.719 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000173/0.4834, allocations: 290.7 kB / 0.6162 GB, free: 5.367 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006191/0.4896, allocations: 4.309 MB / 0.6204 GB, free: 1.043 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.737e-05/0.4897, allocations: 33.7 kB / 0.6204 GB, free: 1.004 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001759/0.4915, allocations: 1.752 MB / 0.6222 GB, free: 15.24 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/0.4916, allocations: 119 kB / 0.6223 GB, free: 15.12 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002689/0.4919, allocations: 154.6 kB / 0.6224 GB, free: 14.96 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.4921, allocations: 334 kB / 0.6227 GB, free: 14.63 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007437/0.4928, allocations: 465.8 kB / 0.6232 GB, free: 14.18 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/0.4938, allocations: 0.8368 MB / 0.624 GB, free: 13.15 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001831/0.4957, allocations: 1.371 MB / 0.6253 GB, free: 11.59 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.4957, allocations: 4 kB / 0.6253 GB, free: 11.59 MB / 478.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002994/0.4987, allocations: 1.669 MB / 0.627 GB, free: 9.902 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/0.4987, allocations: 8 kB / 0.627 GB, free: 9.895 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/0.4987, allocations: 16 kB / 0.627 GB, free: 9.879 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002736/0.499, allocations: 62.56 kB / 0.6271 GB, free: 9.812 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005608/0.4996, allocations: 187.7 kB / 0.6272 GB, free: 9.629 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002168/0.5017, allocations: 2.601 MB / 0.6298 GB, free: 6.797 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/0.5033, allocations: 364.5 kB / 0.6301 GB, free: 6.438 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.5034, allocations: 60.08 kB / 0.6302 GB, free: 6.379 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.001355/0.5047, allocations: 0.7596 MB / 0.6309 GB, free: 5.609 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006048/0.5053, allocations: 365.5 kB / 0.6313 GB, free: 5.25 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002069/0.5074, allocations: 1.072 MB / 0.6323 GB, free: 4.16 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.5074, allocations: 8 kB / 0.6323 GB, free: 4.152 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.5074, allocations: 0 / 0.6323 GB, free: 4.152 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.5074, allocations: 7.984 kB / 0.6323 GB, free: 4.145 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003313/0.5107, allocations: 2.196 MB / 0.6345 GB, free: 1.895 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.5107, allocations: 7.938 kB / 0.6345 GB, free: 1.887 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003527/0.5111, allocations: 71.89 kB / 0.6346 GB, free: 1.816 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001813/0.5113, allocations: 57.61 kB / 0.6346 GB, free: 1.754 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.293e-05/0.5113, allocations: 12 kB / 0.6346 GB, free: 1.742 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002051/0.5134, allocations: 2.574 MB / 0.6371 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.5134, allocations: 3.938 kB / 0.6371 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00238/0.5157, allocations: 2.04 MB / 0.6391 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00109/0.5168, allocations: 469.4 kB / 0.6396 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003835/0.5172, allocations: 15.94 kB / 0.6396 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009345/0.5181, allocations: 24.05 kB / 0.6396 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.5183, allocations: 43.83 kB / 0.6397 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-05/0.5183, allocations: 11.98 kB / 0.6397 GB, free: 12.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005228/0.5235, allocations: 3.241 MB / 0.6428 GB, free: 9.062 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5235, allocations: 0 / 0.6428 GB, free: 9.062 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002216/0.5257, allocations: 0.5227 MB / 0.6433 GB, free: 8.539 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.003111/0.5288, allocations: 2.7 MB / 0.646 GB, free: 5.801 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001847/0.5307, allocations: 1.035 MB / 0.647 GB, free: 4.742 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.5307, allocations: 4.062 kB / 0.647 GB, free: 4.738 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007843/0.5315, allocations: 0.501 MB / 0.6475 GB, free: 4.211 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004406/0.5359, allocations: 0.8145 MB / 0.6483 GB, free: 3.406 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05482/0.5907, allocations: 30.35 MB / 0.6779 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002566/0.5933, allocations: 1.995 MB / 0.6799 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00145/0.5947, allocations: 401.3 kB / 0.6803 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001977/0.5967, allocations: 1.378 MB / 0.6816 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of SimCode: time 1.603e-06/0.5967, allocations: 0 / 0.6816 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3534/0.9502, allocations: 69.56 MB / 0.7495 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.95/21.9, allocations: 10.5 kB / 0.7495 GB, free: 169.1 MB / 0.5606 GB " [Timeout remaining time 638] (rm -f Chemical_master_Chemical.Boundaries.Tests.TestBoundaries.pipe ; mkfifo Chemical_master_Chemical.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < Chemical_master_Chemical.Boundaries.Tests.TestBoundaries.pipe >> ../files/Chemical_master_Chemical.Boundaries.Tests.TestBoundaries.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Boundaries_Tests_TestBoundaries_fmu --startTime=0 --stopTime=10 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Boundaries_Tests_TestBoundaries.fmu > Chemical_master_Chemical.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 25.097136338008568] Failed to read output from testmodel.py, exit status != 0: 22.12125400698278 22.142964433 21.71120647 Calling exit ...