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.001967/0.001967, 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.002329/0.002329, allocations: 213.3 kB / 22.26 MB, free: 5.121 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.601/1.601, allocations: 230.6 MB / 256 MB, free: 7.988 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.1678/0.1678, allocations: 23.84 MB / 336.3 MB, free: 11.2 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.002088/0.002088, allocations: 63.91 kB / 471.2 MB, free: 7.695 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4182/0.4203, allocations: 59.86 MB / 0.5186 GB, free: 9.625 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.05848/0.4788, allocations: 34.72 MB / 0.5525 GB, free: 5.547 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01494/0.4937, allocations: 6.217 MB / 0.5586 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004755/0.4985, allocations: 47.75 kB / 0.5586 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00586/0.5043, allocations: 1.336 MB / 0.5599 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005227/0.5095, allocations: 0.9688 MB / 0.5608 GB, free: 13.95 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002216/0.5118, allocations: 430.5 kB / 0.5613 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006504/0.5183, allocations: 2.619 MB / 0.5638 GB, free: 11.22 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001958/0.5202, allocations: 0.9997 MB / 0.5648 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002586/0.5228, allocations: 1.092 MB / 0.5659 GB, free: 9.242 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002412/0.5252, allocations: 1.306 MB / 0.5671 GB, free: 8.09 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004423/0.5257, allocations: 283.9 kB / 0.5674 GB, free: 7.812 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003664/0.5293, allocations: 1.345 MB / 0.5687 GB, free: 6.711 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000885/0.5302, allocations: 0.8135 MB / 0.5695 GB, free: 5.895 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002481/0.5327, allocations: 1.779 MB / 0.5713 GB, free: 4.105 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00861/0.5413, allocations: 5.19 MB / 0.5763 GB, free: 14.89 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.5413, allocations: 0 / 0.5763 GB, free: 14.89 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5413, allocations: 0 / 0.5763 GB, free: 14.89 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001377/0.5415, allocations: 0 / 0.5763 GB, free: 14.89 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.009172/0.5506, allocations: 3.795 MB / 0.58 GB, free: 11.05 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.794e-05/0.5507, allocations: 8.031 kB / 0.58 GB, free: 11.04 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006492/0.5513, allocations: 481.7 kB / 0.5805 GB, free: 10.56 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.5524, allocations: 494.1 kB / 0.581 GB, free: 10.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003018/0.5554, allocations: 1.428 MB / 0.5824 GB, free: 8.609 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002325/0.5556, allocations: 246.5 kB / 0.5826 GB, free: 8.367 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004295/0.5561, allocations: 315.9 kB / 0.5829 GB, free: 8.059 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007299/0.5634, allocations: 4.712 MB / 0.5875 GB, free: 2.922 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-05/0.5634, allocations: 23.81 kB / 0.5875 GB, free: 2.898 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002392/0.5637, allocations: 144 kB / 0.5877 GB, free: 2.758 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004074/0.5641, allocations: 341.8 kB / 0.588 GB, free: 2.422 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006062/0.5702, 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.02766/0.5978, allocations: 21.24 MB / 0.6122 GB, free: 8.867 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001349/0.5992, allocations: 0.7169 MB / 0.6129 GB, free: 8.059 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006884/0.5999, allocations: 472.4 kB / 0.6134 GB, free: 7.566 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004201/0.6003, allocations: 81.55 kB / 0.6134 GB, free: 7.488 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.07e-05/0.6003, allocations: 46.5 kB / 0.6135 GB, free: 7.434 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.144e-06/0.6003, allocations: 0 / 0.6135 GB, free: 7.434 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.003575/0.6039, allocations: 1.721 MB / 0.6152 GB, free: 5.699 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001969/0.6041, allocations: 294.8 kB / 0.6155 GB, free: 5.344 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006839/0.6109, allocations: 4.302 MB / 0.6197 GB, free: 1.027 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001264/0.6111, allocations: 33.7 kB / 0.6197 GB, free: 0.9883 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001911/0.613, allocations: 1.76 MB / 0.6214 GB, free: 15.21 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001903/0.6132, allocations: 119 kB / 0.6215 GB, free: 15.1 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003107/0.6135, allocations: 154.6 kB / 0.6217 GB, free: 14.94 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.6137, allocations: 334 kB / 0.622 GB, free: 14.61 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008011/0.6145, allocations: 465.9 kB / 0.6224 GB, free: 14.15 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001201/0.6157, allocations: 0.8446 MB / 0.6233 GB, free: 13.12 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001977/0.6176, allocations: 1.367 MB / 0.6246 GB, free: 11.56 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/0.6177, allocations: 7.938 kB / 0.6246 GB, free: 11.55 MB / 478.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003612/0.6213, allocations: 1.668 MB / 0.6262 GB, free: 9.871 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.124e-05/0.6213, allocations: 12 kB / 0.6262 GB, free: 9.859 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/0.6213, allocations: 12 kB / 0.6262 GB, free: 9.848 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002881/0.6216, allocations: 57.7 kB / 0.6263 GB, free: 9.785 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005929/0.6222, allocations: 191.9 kB / 0.6265 GB, free: 9.598 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00256/0.6248, allocations: 2.605 MB / 0.629 GB, free: 6.762 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001966/0.6267, allocations: 364.5 kB / 0.6294 GB, free: 6.402 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/0.6268, allocations: 63.98 kB / 0.6294 GB, free: 6.34 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.001611/0.6284, allocations: 0.7597 MB / 0.6302 GB, free: 5.57 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007202/0.6292, allocations: 365.6 kB / 0.6305 GB, free: 5.211 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002102/0.6313, allocations: 1.052 MB / 0.6316 GB, free: 4.141 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.6313, allocations: 8 kB / 0.6316 GB, free: 4.133 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.6313, allocations: 8.062 kB / 0.6316 GB, free: 4.125 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.6313, allocations: 3.984 kB / 0.6316 GB, free: 4.121 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003776/0.6351, allocations: 2.2 MB / 0.6337 GB, free: 1.867 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.6351, allocations: 4 kB / 0.6337 GB, free: 1.863 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003507/0.6354, allocations: 83.77 kB / 0.6338 GB, free: 1.781 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000182/0.6356, allocations: 45.67 kB / 0.6339 GB, free: 1.73 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.423e-05/0.6356, allocations: 16 kB / 0.6339 GB, free: 1.715 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002473/0.6381, allocations: 2.566 MB / 0.6364 GB, free: 14.92 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.064e-05/0.6381, allocations: 11.92 kB / 0.6364 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002543/0.6407, allocations: 2.04 MB / 0.6384 GB, free: 12.83 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001225/0.6419, allocations: 469.4 kB / 0.6388 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003256/0.6422, allocations: 15.94 kB / 0.6388 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009126/0.6431, allocations: 19.98 kB / 0.6389 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.6433, allocations: 43.83 kB / 0.6389 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.808e-05/0.6433, allocations: 15.98 kB / 0.6389 GB, free: 12.28 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005397/0.6487, allocations: 3.241 MB / 0.6421 GB, free: 9.035 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6487, allocations: 0 / 0.6421 GB, free: 9.035 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002192/0.6509, allocations: 0.5188 MB / 0.6426 GB, free: 8.516 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.003187/0.6541, allocations: 2.708 MB / 0.6452 GB, free: 5.77 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001938/0.656, allocations: 1.031 MB / 0.6462 GB, free: 4.715 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.656, allocations: 0.9375 kB / 0.6462 GB, free: 4.715 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007866/0.6568, allocations: 0.5088 MB / 0.6467 GB, free: 4.18 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00434/0.6611, allocations: 0.8109 MB / 0.6475 GB, free: 3.379 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05308/0.7142, allocations: 30.35 MB / 0.6772 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002209/0.7164, allocations: 2.007 MB / 0.6791 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001384/0.7178, allocations: 393.3 kB / 0.6795 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001812/0.7196, allocations: 1.386 MB / 0.6809 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of SimCode: time 1.422e-06/0.7196, allocations: 3.938 kB / 0.6809 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4932/1.213, allocations: 69.52 MB / 0.7487 GB, free: 169 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.51/23.72, allocations: 8.516 kB / 0.7488 GB, free: 169 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.11575820017606] Failed to read output from testmodel.py, exit status != 0: 23.881155010079965 23.905206781 23.359460075 Calling exit ...