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.0007012/0.0007012, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007077/0.0007077, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8336/0.8336, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.0817/0.0817, allocations: 17.45 MB / 276.6 MB, free: 11.77 MB / 266.7 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.Boundaries.Tests.TestBoundaries,fileNamePrefix="Chemical_master_Chemical_Boundaries_Tests_TestBoundaries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Boundaries.Tests.TestBoundaries,fileNamePrefix="Chemical_master_Chemical_Boundaries_Tests_TestBoundaries",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 411.6 MB, free: 12.43 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.224e-05/2.416e-05, allocations: 4.031 kB / 411.6 MB, free: 12.43 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:621:5-621: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/Boundaries.mo:621:5-621: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.02325/0.02328, allocations: 33.49 MB / 445.1 MB, free: 7.234 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00872/0.032, allocations: 5.993 MB / 451.1 MB, free: 1.852 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001148/0.03314, allocations: 55.69 kB / 451.1 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002414/0.03556, allocations: 1.329 MB / 452.4 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001914/0.03747, allocations: 1.242 MB / 453.7 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008294/0.0383, allocations: 469.9 kB / 454.1 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002401/0.0407, allocations: 3.04 MB / 457.2 MB, free: 12.33 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008342/0.04154, allocations: 0.9962 MB / 458.2 MB, free: 11.26 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00108/0.04262, allocations: 1.828 MB / 460 MB, free: 9.43 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006912/0.04331, allocations: 0.9579 MB / 461 MB, free: 8.469 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001927/0.0435, allocations: 284 kB / 461.2 MB, free: 8.191 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001257/0.04476, allocations: 0.846 MB / 462.1 MB, free: 7.344 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003976/0.04516, allocations: 0.9147 MB / 463 MB, free: 6.426 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006331/0.04579, allocations: 1.114 MB / 464.1 MB, free: 5.309 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003118/0.04891, allocations: 5.1 MB / 469.2 MB, free: 196 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.04891, allocations: 3.938 kB / 469.2 MB, free: 192 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.04891, allocations: 0 / 469.2 MB, free: 192 kB / 362.7 MB Notification: Performance of Transformations before backend: time 3.107e-05/0.04894, allocations: 0 / 469.2 MB, free: 192 kB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 929 * Number of variables: 929 Notification: Performance of Generate backend data structure: time 0.002729/0.05167, allocations: 3.877 MB / 473.1 MB, free: 12.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.05171, allocations: 11.97 kB / 473.1 MB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003095/0.05202, allocations: 477.9 kB / 473.6 MB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004312/0.05245, allocations: 0.5177 MB / 474.1 MB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/0.05372, allocations: 1.443 MB / 475.5 MB, free: 9.766 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.05382, allocations: 238.9 kB / 475.8 MB, free: 9.531 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000457/0.05428, allocations: 320.4 kB / 476.1 MB, free: 9.219 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003482/0.05776, allocations: 4.767 MB / 480.9 MB, free: 4.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.862e-05/0.05781, allocations: 19.81 kB / 480.9 MB, free: 4 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001429/0.05795, allocations: 148 kB / 481 MB, free: 3.855 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000216/0.05817, allocations: 353.7 kB / 481.4 MB, free: 3.516 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003165/0.06134, allocations: 3.586 MB / 485 MB, free: 15.93 MB / 394.7 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.01153/0.07287, allocations: 20.18 MB / 0.4933 GB, free: 11.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006604/0.07353, allocations: 0.7207 MB / 0.494 GB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003706/0.0739, allocations: 464.4 kB / 0.4944 GB, free: 9.789 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002112/0.07411, allocations: 81.58 kB / 0.4945 GB, free: 9.711 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.07413, allocations: 50.48 kB / 0.4946 GB, free: 9.652 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.793e-06/0.07414, allocations: 0 / 0.4946 GB, free: 9.652 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.001714/0.07585, allocations: 1.743 MB / 0.4963 GB, free: 7.895 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.111e-05/0.07593, allocations: 290.7 kB / 0.4965 GB, free: 7.543 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003499/0.07943, allocations: 4.272 MB / 0.5007 GB, free: 3.254 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.07946, allocations: 33.7 kB / 0.5008 GB, free: 3.215 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009315/0.08039, allocations: 1.783 MB / 0.5025 GB, free: 1.422 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.83e-05/0.08046, allocations: 127 kB / 0.5026 GB, free: 1.297 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.0806, allocations: 162.5 kB / 0.5028 GB, free: 1.133 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.939e-05/0.08068, allocations: 341.9 kB / 0.5031 GB, free: 0.793 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004216/0.0811, allocations: 465.8 kB / 0.5035 GB, free: 348 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005838/0.08169, allocations: 0.8949 MB / 0.5044 GB, free: 15.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.08272, allocations: 1.421 MB / 0.5058 GB, free: 13.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.08273, allocations: 8 kB / 0.5058 GB, free: 13.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001702/0.08443, allocations: 1.739 MB / 0.5075 GB, free: 11.83 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.08445, allocations: 15.94 kB / 0.5075 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.08446, allocations: 16 kB / 0.5075 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001558/0.08462, allocations: 58.27 kB / 0.5076 GB, free: 11.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003082/0.08493, allocations: 215.7 kB / 0.5078 GB, free: 11.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/0.08608, allocations: 2.582 MB / 0.5103 GB, free: 8.719 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006665/0.08675, allocations: 360.6 kB / 0.5107 GB, free: 8.363 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.103e-05/0.08681, allocations: 67.98 kB / 0.5107 GB, free: 8.297 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * 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 (94): * Single equations (assignments): 92 * 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.0006554/0.08747, allocations: 0.7677 MB / 0.5115 GB, free: 7.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002957/0.08776, allocations: 393.5 kB / 0.5119 GB, free: 7.133 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/0.08881, allocations: 1.063 MB / 0.5129 GB, free: 6.043 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.08882, allocations: 8 kB / 0.5129 GB, free: 6.035 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.08882, allocations: 4 kB / 0.5129 GB, free: 6.031 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.08883, allocations: 3.984 kB / 0.5129 GB, free: 6.027 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001933/0.09076, allocations: 1.821 MB / 0.5147 GB, free: 4.148 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.09076, allocations: 4.062 kB / 0.5147 GB, free: 4.145 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/0.09092, allocations: 79.89 kB / 0.5148 GB, free: 4.066 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.661e-05/0.09101, allocations: 53.55 kB / 0.5148 GB, free: 4.008 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.384e-05/0.09103, allocations: 12 kB / 0.5148 GB, free: 3.996 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009698/0.092, allocations: 2.551 MB / 0.5173 GB, free: 1.219 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.092, allocations: 7.938 kB / 0.5173 GB, free: 1.211 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.09318, allocations: 2.048 MB / 0.5193 GB, free: 15.13 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004364/0.09362, allocations: 469.3 kB / 0.5198 GB, free: 14.67 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001719/0.09379, allocations: 11.95 kB / 0.5198 GB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005399/0.09433, allocations: 23.92 kB / 0.5198 GB, free: 14.63 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.571e-05/0.09439, allocations: 39.88 kB / 0.5198 GB, free: 14.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.09441, allocations: 12 kB / 0.5199 GB, free: 14.58 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002764/0.09717, allocations: 3.201 MB / 0.523 GB, free: 11.38 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.09717, allocations: 0 / 0.523 GB, free: 11.38 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001044/0.09821, allocations: 0.5656 MB / 0.5235 GB, free: 10.81 MB / 442.7 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.001583/0.0998, allocations: 2.717 MB / 0.5262 GB, free: 8.055 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009395/0.1007, allocations: 1.059 MB / 0.5272 GB, free: 6.973 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1007, allocations: 0 / 0.5272 GB, free: 6.973 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005994/0.1013, allocations: 0.4932 MB / 0.5277 GB, free: 6.453 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002081/0.1034, allocations: 0.8147 MB / 0.5285 GB, free: 5.652 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03007/0.1335, allocations: 30.24 MB / 0.558 GB, free: 6.668 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001014/0.1345, allocations: 1.457 MB / 0.5595 GB, free: 5.18 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006738/0.1352, allocations: 393.1 kB / 0.5598 GB, free: 4.789 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009584/0.1361, allocations: 1.402 MB / 0.5612 GB, free: 3.387 MB / 474.7 MB Notification: Performance of SimCode: time 9.72e-07/0.1361, allocations: 0 / 0.5612 GB, free: 3.387 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2111/0.3473, allocations: 72.19 MB / 0.6317 GB, free: 119 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.468/8.816, allocations: 4 kB / 0.6317 GB, free: 119 MB / 490.7 MB " [Timeout remaining time 651] (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: 10.801797692663968] Failed to read output from testmodel.py, exit status != 0: 9.06646839901805 8.944234468 8.894140443 Calling exit ...