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.001404/0.001404, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001612/0.001612, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.458/1.458, allocations: 230.6 MB / 256 MB, free: 7.984 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.2245/0.2245, allocations: 23.9 MB / 336.3 MB, free: 11.16 MB / 270.1 MB " [Timeout remaining time 179] 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: 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.002881/0.002881, allocations: 63.91 kB / 471.2 MB, free: 7.637 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5163/0.5192, allocations: 59.86 MB / 0.5186 GB, free: 9.613 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:620:5-620: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:620:5-620: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.0749/0.5941, allocations: 34.73 MB / 0.5526 GB, free: 5.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01925/0.6134, allocations: 6.139 MB / 0.5586 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005474/0.6188, allocations: 51.69 kB / 0.5586 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007292/0.6261, allocations: 1.281 MB / 0.5599 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007596/0.6337, allocations: 0.9985 MB / 0.5608 GB, free: 13.98 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003048/0.6368, allocations: 441.9 kB / 0.5612 GB, free: 13.65 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009417/0.6462, allocations: 2.66 MB / 0.5638 GB, free: 11.21 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003406/0.6496, allocations: 0.9992 MB / 0.5648 GB, free: 10.26 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003151/0.6527, allocations: 1.146 MB / 0.5659 GB, free: 9.184 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003547/0.6563, allocations: 1.289 MB / 0.5672 GB, free: 8.047 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001353/0.6576, allocations: 288 kB / 0.5675 GB, free: 7.766 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005653/0.6633, allocations: 1.305 MB / 0.5687 GB, free: 6.672 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001852/0.6651, allocations: 0.8212 MB / 0.5696 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003705/0.6689, allocations: 1.772 MB / 0.5713 GB, free: 4.066 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01192/0.6808, allocations: 5.136 MB / 0.5763 GB, free: 14.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.947e-06/0.6808, allocations: 0 / 0.5763 GB, free: 14.91 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.6808, allocations: 0 / 0.5763 GB, free: 14.91 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001542/0.6809, allocations: 7.938 kB / 0.5763 GB, free: 14.9 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.00946/0.6904, allocations: 3.783 MB / 0.58 GB, free: 11.06 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.35e-05/0.6905, allocations: 12.03 kB / 0.58 GB, free: 11.05 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00095/0.6914, allocations: 489.6 kB / 0.5805 GB, free: 10.56 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001429/0.6928, allocations: 494.1 kB / 0.5809 GB, free: 10.08 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004053/0.6969, allocations: 1.432 MB / 0.5823 GB, free: 8.609 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003207/0.6972, allocations: 250.5 kB / 0.5826 GB, free: 8.363 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006337/0.6978, allocations: 316 kB / 0.5829 GB, free: 8.055 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01158/0.7094, allocations: 4.704 MB / 0.5875 GB, free: 2.926 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001125/0.7095, allocations: 23.75 kB / 0.5875 GB, free: 2.902 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003801/0.7099, allocations: 140 kB / 0.5876 GB, free: 2.766 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006196/0.7105, allocations: 345.8 kB / 0.588 GB, free: 2.426 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009143/0.7197, allocations: 3.575 MB / 0.5915 GB, free: 14.84 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.03795/0.7576, allocations: 21.2 MB / 0.6122 GB, free: 8.906 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00216/0.7598, allocations: 0.713 MB / 0.6129 GB, free: 8.102 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00112/0.7609, allocations: 476.4 kB / 0.6133 GB, free: 7.605 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006297/0.7615, allocations: 77.56 kB / 0.6134 GB, free: 7.531 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001108/0.7617, allocations: 46.5 kB / 0.6134 GB, free: 7.477 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 3.677e-06/0.7617, allocations: 0 / 0.6134 GB, free: 7.477 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.005529/0.7672, allocations: 1.716 MB / 0.6151 GB, free: 5.746 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002584/0.7674, allocations: 290.8 kB / 0.6154 GB, free: 5.395 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01077/0.7782, allocations: 4.236 MB / 0.6195 GB, free: 1.141 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001592/0.7784, allocations: 33.7 kB / 0.6196 GB, free: 1.102 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002795/0.7812, allocations: 1.76 MB / 0.6213 GB, free: 15.33 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000292/0.7815, allocations: 123 kB / 0.6214 GB, free: 15.21 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004114/0.7819, allocations: 158.6 kB / 0.6215 GB, free: 15.05 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002225/0.7821, allocations: 330 kB / 0.6219 GB, free: 14.72 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001251/0.7833, allocations: 473.8 kB / 0.6223 GB, free: 14.26 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001705/0.7851, allocations: 0.8681 MB / 0.6232 GB, free: 13.19 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002979/0.788, allocations: 1.39 MB / 0.6245 GB, free: 11.59 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-05/0.788, allocations: 7.938 kB / 0.6245 GB, free: 11.59 MB / 478.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004883/0.7929, allocations: 1.684 MB / 0.6262 GB, free: 9.887 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.792e-05/0.793, allocations: 12.94 kB / 0.6262 GB, free: 9.875 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.253e-05/0.793, allocations: 16 kB / 0.6262 GB, free: 9.859 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003706/0.7934, allocations: 69.67 kB / 0.6263 GB, free: 9.785 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009766/0.7943, allocations: 199.7 kB / 0.6264 GB, free: 9.59 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003175/0.7975, allocations: 2.593 MB / 0.629 GB, free: 6.766 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002763/0.8003, allocations: 360.8 kB / 0.6293 GB, free: 6.41 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001864/0.8005, allocations: 67.98 kB / 0.6294 GB, free: 6.344 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (90): * Single equations (assignments): 88 * 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.002342/0.8028, allocations: 0.7595 MB / 0.6301 GB, free: 5.574 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001167/0.804, allocations: 357.6 kB / 0.6305 GB, free: 5.223 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003309/0.8073, allocations: 1.063 MB / 0.6315 GB, free: 4.141 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.8073, allocations: 4 kB / 0.6315 GB, free: 4.137 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.8073, allocations: 4 kB / 0.6315 GB, free: 4.133 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.8073, allocations: 0 / 0.6315 GB, free: 4.133 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005867/0.8132, allocations: 2.207 MB / 0.6337 GB, free: 1.871 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.8132, allocations: 0 / 0.6337 GB, free: 1.871 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005657/0.8138, allocations: 75.83 kB / 0.6337 GB, free: 1.797 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000281/0.814, allocations: 45.69 kB / 0.6338 GB, free: 1.746 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.886e-05/0.8141, allocations: 15.98 kB / 0.6338 GB, free: 1.73 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003188/0.8173, allocations: 2.57 MB / 0.6363 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/0.8173, allocations: 8.156 kB / 0.6363 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00401/0.8213, allocations: 2.02 MB / 0.6383 GB, free: 12.87 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002404/0.8237, allocations: 465.4 kB / 0.6387 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008652/0.8246, allocations: 12 kB / 0.6388 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001678/0.8262, allocations: 19.98 kB / 0.6388 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001929/0.8264, allocations: 35.89 kB / 0.6388 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.434e-05/0.8265, allocations: 11.98 kB / 0.6388 GB, free: 12.34 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.008484/0.835, allocations: 3.188 MB / 0.6419 GB, free: 9.145 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.835, allocations: 0 / 0.6419 GB, free: 9.145 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003882/0.8388, allocations: 0.5343 MB / 0.6425 GB, free: 8.609 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.004383/0.8432, allocations: 2.692 MB / 0.6451 GB, free: 5.883 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002571/0.8458, allocations: 1.043 MB / 0.6461 GB, free: 4.816 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.8458, allocations: 0 / 0.6461 GB, free: 4.816 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001081/0.8469, allocations: 0.5015 MB / 0.6466 GB, free: 4.289 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007366/0.8543, allocations: 0.7918 MB / 0.6474 GB, free: 3.504 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0789/0.9332, allocations: 29.99 MB / 0.6766 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003154/0.9363, allocations: 1.991 MB / 0.6786 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002008/0.9383, allocations: 400.8 kB / 0.679 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002889/0.9412, allocations: 1.382 MB / 0.6803 GB, free: 1 MB / 0.5137 GB Notification: Performance of SimCode: time 1.082e-06/0.9412, allocations: 0 / 0.6803 GB, free: 1 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5647/1.506, allocations: 68.44 MB / 0.7472 GB, free: 179.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.98/22.49, allocations: 3.812 kB / 0.7472 GB, free: 179.4 MB / 0.5606 GB " [Timeout remaining time 637] (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.8514424120076] Failed to read output from testmodel.py, exit status != 0: 22.646942266030237 22.665851344 21.981175887 Calling exit ...