Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.HeatingOfWater.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.00134/0.00134, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.00202/0.00202, allocations: 215 kB / 20.13 MB, free: 2.949 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.566/1.566, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.1493/0.1493, allocations: 23.85 MB / 333.4 MB, free: 1.242 MB / 254.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.Examples.HeatingOfWater,fileNamePrefix="Chemical_Chemical_Examples_HeatingOfWater",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.HeatingOfWater,fileNamePrefix="Chemical_Chemical_Examples_HeatingOfWater",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.001897/0.001897, allocations: 68.98 kB / 466.7 MB, free: 30.8 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1182, allocations: 59.83 MB / 0.5142 GB, free: 12.99 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1343:7-1343:76:writable] Warning: An inner declaration for outer component dropOfCommons could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1343:7-1343:76:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"dropOfCommons\" component but an inner \"dropOfCommons\" component is not defined. Use Chemical.DropOfCommons in your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Examples.HeatingOfWater): time 0.04685/0.165, allocations: 26.1 MB / 0.5396 GB, free: 2.922 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01172/0.1768, allocations: 8.394 MB / 0.5478 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001051/0.1778, allocations: 11.94 kB / 0.5479 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002814/0.1806, allocations: 0.8045 MB / 0.5486 GB, free: 9.676 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001871/0.1825, allocations: 0.5703 MB / 0.5492 GB, free: 9.102 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002275/0.1848, allocations: 0.746 MB / 0.5499 GB, free: 8.352 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001815/0.1866, allocations: 1.133 MB / 0.551 GB, free: 7.219 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003196/0.1869, allocations: 164.5 kB / 0.5512 GB, free: 7.039 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004264/0.1873, allocations: 378.5 kB / 0.5516 GB, free: 6.668 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005361/0.1879, allocations: 418 kB / 0.552 GB, free: 6.258 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000105/0.188, allocations: 84 kB / 0.552 GB, free: 6.176 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00395/0.1919, allocations: 1.564 MB / 0.5536 GB, free: 4.609 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003114/0.1922, allocations: 271 kB / 0.5538 GB, free: 4.344 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005692/0.1928, allocations: 0.5361 MB / 0.5543 GB, free: 3.805 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004499/0.1973, allocations: 2.488 MB / 0.5568 GB, free: 1.309 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1973, allocations: 4 kB / 0.5568 GB, free: 1.305 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1973, allocations: 0 / 0.5568 GB, free: 1.305 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.405e-05/0.1973, allocations: 0 / 0.5568 GB, free: 1.305 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.002503/0.1998, allocations: 1.485 MB / 0.5582 GB, free: 15.77 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.1999, allocations: 8.031 kB / 0.5582 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.587e-05/0.1999, allocations: 26.19 kB / 0.5583 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001714/0.2001, allocations: 156.7 kB / 0.5584 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006137/0.2007, allocations: 220 kB / 0.5586 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008794/0.2016, allocations: 0.5931 MB / 0.5592 GB, free: 14.72 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001909/0.2018, allocations: 140.2 kB / 0.5593 GB, free: 14.58 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.2019, allocations: 100 kB / 0.5594 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004294/0.2062, allocations: 3.612 MB / 0.563 GB, free: 10.85 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.2062, allocations: 0 / 0.563 GB, free: 10.85 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.665e-05/0.2063, allocations: 39.98 kB / 0.563 GB, free: 10.81 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001882/0.2065, allocations: 146 kB / 0.5631 GB, free: 10.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007415/0.2139, allocations: 6.467 MB / 0.5694 GB, free: 4.188 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.01384/0.2277, allocations: 9.378 MB / 0.5786 GB, free: 10.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002755/0.2305, allocations: 1.717 MB / 0.5803 GB, free: 8.938 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001795/0.2323, allocations: 1.332 MB / 0.5816 GB, free: 7.602 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002413/0.2347, allocations: 1.529 MB / 0.5831 GB, free: 5.848 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.2347, allocations: 38.5 kB / 0.5831 GB, free: 5.801 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 2.405e-06/0.2347, allocations: 0 / 0.5831 GB, free: 5.801 MB / 446.1 MB Notification: Performance of matching and sorting (n=68): time 0.3303/0.565, allocations: 15.29 MB / 0.598 GB, free: 65.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.07034/0.6354, allocations: 22.28 MB / 0.6198 GB, free: 51.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001507/0.6369, allocations: 1.057 MB / 0.6208 GB, free: 50.76 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003536/0.6372, allocations: 38.33 kB / 0.6209 GB, free: 50.72 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003398/0.6376, allocations: 0.5147 MB / 0.6214 GB, free: 50.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004876/0.638, allocations: 255.5 kB / 0.6216 GB, free: 49.99 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007975/0.6388, allocations: 258.5 kB / 0.6219 GB, free: 49.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.928e-05/0.6389, allocations: 330 kB / 0.6222 GB, free: 49.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00243/0.6413, allocations: 2.384 MB / 0.6245 GB, free: 47.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002504/0.6438, allocations: 2.523 MB / 0.627 GB, free: 44.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003885/0.6477, allocations: 3.338 MB / 0.6302 GB, free: 41.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.6477, allocations: 4 kB / 0.6302 GB, free: 41.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.01427/0.662, allocations: 6.7 MB / 0.6368 GB, free: 34.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.663e-05/0.662, allocations: 8 kB / 0.6368 GB, free: 34.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/0.662, allocations: 10.59 kB / 0.6368 GB, free: 34.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01329/0.6753, allocations: 3.404 MB / 0.6401 GB, free: 31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002286/0.6776, allocations: 314.2 kB / 0.6404 GB, free: 30.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0182/0.6958, allocations: 13.4 MB / 0.6535 GB, free: 17.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002005/0.6978, allocations: 75.94 kB / 0.6536 GB, free: 17.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004948/0.6983, allocations: 179.9 kB / 0.6537 GB, free: 16.88 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (70): * Single equations (assignments): 65 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,8), (2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.00117/0.6995, allocations: 344.1 kB / 0.6541 GB, free: 16.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006546/0.7001, allocations: 99.34 kB / 0.6542 GB, free: 16.44 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0124/0.7125, allocations: 4.439 MB / 0.6585 GB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01028/0.7228, allocations: 3.657 MB / 0.6621 GB, free: 8.344 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/0.7228, allocations: 4 kB / 0.6621 GB, free: 8.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.976e-05/0.7229, allocations: 3.984 kB / 0.6621 GB, free: 8.336 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01487/0.7377, allocations: 7.37 MB / 0.6693 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.577e-05/0.7377, allocations: 4 kB / 0.6693 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001561/0.7393, allocations: 178.3 kB / 0.6695 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04271/0.782, allocations: 3.703 MB / 0.6731 GB, free: 12.97 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004282/0.7824, allocations: 51.05 kB / 0.6731 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01973/0.8022, allocations: 6.573 MB / 0.6795 GB, free: 6.211 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.06142/0.8636, allocations: 14.79 MB / 0.694 GB, free: 7.176 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01613/0.8797, allocations: 5.696 MB / 0.6995 GB, free: 1.434 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005508/0.8803, allocations: 216.3 kB / 0.6997 GB, free: 1.203 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004843/0.8807, allocations: 19.95 kB / 0.6998 GB, free: 1.184 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001633/0.8824, allocations: 55.92 kB / 0.6998 GB, free: 1.129 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004679/0.8828, allocations: 99 kB / 0.6999 GB, free: 1.035 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002418/0.8831, allocations: 75.95 kB / 0.7 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001857/0.8849, allocations: 1.017 MB / 0.701 GB, free: 15.93 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.8849, allocations: 3.938 kB / 0.701 GB, free: 15.93 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002678/0.8876, allocations: 0.5778 MB / 0.7015 GB, free: 15.35 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 ($STATESET1.x[2],$STATESET1.x[1]) * Number of discrete variables: 1 ($cse15) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 40 * 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): 1 system {(3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01574/0.9034, allocations: 6.06 MB / 0.7075 GB, free: 9.297 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007206/0.9106, allocations: 3.627 MB / 0.711 GB, free: 5.668 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.9106, allocations: 0 / 0.711 GB, free: 5.668 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003907/0.9145, allocations: 1.465 MB / 0.7124 GB, free: 4.191 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001729/0.9162, allocations: 246.1 kB / 0.7127 GB, free: 3.977 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05576/0.972, allocations: 27.49 MB / 0.7395 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/0.9731, allocations: 1.134 MB / 0.7406 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001507/0.9746, allocations: 304.3 kB / 0.7409 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001223/0.9758, allocations: 463.2 kB / 0.7414 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of SimCode: time 8.92e-07/0.9758, allocations: 0 / 0.7414 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1315/1.107, allocations: 60.27 MB / 0.8002 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16/17.11, allocations: 4.719 kB / 0.8002 GB, free: 10.72 MB / 0.5762 GB " [Timeout remaining time 643] (rm -f Chemical_Chemical.Examples.HeatingOfWater.pipe ; mkfifo Chemical_Chemical.Examples.HeatingOfWater.pipe ; head -c 1048576 < Chemical_Chemical.Examples.HeatingOfWater.pipe >> ../files/Chemical_Chemical.Examples.HeatingOfWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_HeatingOfWater_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Examples_HeatingOfWater.fmu > Chemical_Chemical.Examples.HeatingOfWater.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.62110600701999] Failed to read output from testmodel.py, exit status != 0: 17.29672484198818 17.509135922 17.308020553 Calling exit ...