Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestSources.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.001948/0.001948, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.00218/0.00218, allocations: 209.8 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.69/1.69, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.3871/0.3871, allocations: 49.56 MB / 337.1 MB, free: 4.109 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(ThermoPower.Test.WaterComponents.TestSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestSources") translateModel(ThermoPower.Test.WaterComponents.TestSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestSources") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002352/0.002352, allocations: 78.7 kB / 477.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1732, allocations: 62.42 MB / 0.5274 GB, free: 13.82 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/Water.mo:297:5-297:61:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/Water.mo:297:5-297:61:writable] Notification: The diagnostics message for the missing inner is: The System object is missing, please drag it on the top layer of your model Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestSources): time 0.4954/0.6685, allocations: 108.4 MB / 0.6332 GB, free: 9.191 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003497/0.672, allocations: 0.923 MB / 0.6341 GB, free: 8.266 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000702/0.6727, allocations: 43.56 kB / 0.6342 GB, free: 8.223 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001027/0.6738, allocations: 309.5 kB / 0.6345 GB, free: 7.918 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009955/0.6748, allocations: 445 kB / 0.6349 GB, free: 7.48 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01588/0.6906, allocations: 4.575 MB / 0.6394 GB, free: 2.887 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002933/0.6936, allocations: 1.323 MB / 0.6407 GB, free: 1.559 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007378/0.6943, allocations: 379.4 kB / 0.641 GB, free: 1.172 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007428/0.695, allocations: 474.1 kB / 0.6415 GB, free: 0.707 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000623/0.6957, allocations: 437.8 kB / 0.6419 GB, free: 284 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.1e-05/0.6957, allocations: 36 kB / 0.6419 GB, free: 248 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01059/0.7063, allocations: 4.467 MB / 0.6463 GB, free: 11.77 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002377/0.7066, allocations: 119.4 kB / 0.6464 GB, free: 11.65 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005584/0.7071, allocations: 358 kB / 0.6468 GB, free: 11.3 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008255/0.7154, allocations: 3.105 MB / 0.6498 GB, free: 8.188 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.7154, allocations: 4 kB / 0.6498 GB, free: 8.184 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.554e-06/0.7154, allocations: 0 / 0.6498 GB, free: 8.184 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.018e-05/0.7154, allocations: 0 / 0.6498 GB, free: 8.184 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.003366/0.7188, allocations: 1.246 MB / 0.651 GB, free: 6.902 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.7189, allocations: 12.03 kB / 0.651 GB, free: 6.891 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002538/0.7191, allocations: 96.38 kB / 0.6511 GB, free: 6.797 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.7202, allocations: 426 kB / 0.6515 GB, free: 6.348 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.777e-05/0.7202, allocations: 37.38 kB / 0.6515 GB, free: 6.312 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.276e-05/0.7203, allocations: 55.88 kB / 0.6516 GB, free: 6.258 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.7213, allocations: 0.6082 MB / 0.6522 GB, free: 5.523 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.519e-05/0.7214, allocations: 7.938 kB / 0.6522 GB, free: 5.516 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.686e-05/0.7214, allocations: 24 kB / 0.6522 GB, free: 5.492 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.93e-05/0.7214, allocations: 16 kB / 0.6522 GB, free: 5.477 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005201/0.722, allocations: 251.4 kB / 0.6525 GB, free: 5.23 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005062/0.727, allocations: 4.646 MB / 0.657 GB, free: 404 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.7272, allocations: 173.1 kB / 0.6572 GB, free: 220 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.353e-05/0.7272, allocations: 88.06 kB / 0.6573 GB, free: 128 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.246e-05/0.7273, allocations: 79.27 kB / 0.6573 GB, free: 48 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.479e-05/0.7273, allocations: 113.8 kB / 0.6575 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 2.094e-06/0.7273, allocations: 0 / 0.6575 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 0.0002718/0.7276, allocations: 113.1 kB / 0.6576 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.878e-05/0.7277, allocations: 130.7 kB / 0.6577 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.7289, allocations: 0.7686 MB / 0.6584 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.7289, allocations: 29.69 kB / 0.6585 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003748/0.7293, allocations: 391.5 kB / 0.6588 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.654e-06/0.7293, allocations: 8 kB / 0.6588 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.237e-05/0.7294, allocations: 37.66 kB / 0.6589 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.7296, allocations: 313.9 kB / 0.6592 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.371e-05/0.7296, allocations: 15.98 kB / 0.6592 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.7297, allocations: 94.34 kB / 0.6593 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.7299, allocations: 110.1 kB / 0.6594 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.7299, allocations: 4 kB / 0.6594 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004742/0.7304, allocations: 200.9 kB / 0.6596 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.7304, allocations: 8 kB / 0.6596 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.7304, allocations: 4 kB / 0.6596 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.431e-05/0.7304, allocations: 4 kB / 0.6596 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.7306, allocations: 23.92 kB / 0.6596 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.7306, allocations: 4 kB / 0.6596 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002709/0.7308, allocations: 55.89 kB / 0.6597 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/0.7309, allocations: 15.98 kB / 0.6597 GB, free: 13.48 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002421/0.7311, allocations: 236.9 kB / 0.6599 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002086/0.7313, allocations: 188.4 kB / 0.6601 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001529/0.7315, allocations: 163.6 kB / 0.6603 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001023/0.7316, allocations: 184.2 kB / 0.6604 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.549e-05/0.7317, allocations: 188.2 kB / 0.6606 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.162e-05/0.7318, allocations: 180.2 kB / 0.6608 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006448/0.7324, allocations: 0.6134 MB / 0.6614 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.294e-05/0.7325, allocations: 101 kB / 0.6615 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.218e-05/0.7325, allocations: 116.9 kB / 0.6616 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.917e-05/0.7326, allocations: 180.3 kB / 0.6618 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.832e-05/0.7327, allocations: 184.2 kB / 0.6619 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.243e-05/0.7328, allocations: 176.3 kB / 0.6621 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.713e-05/0.7329, allocations: 176.3 kB / 0.6623 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002995/0.7332, allocations: 395.2 kB / 0.6627 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002228/0.7334, allocations: 180.4 kB / 0.6628 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001771/0.7336, allocations: 176.3 kB / 0.663 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/0.7338, allocations: 105 kB / 0.6631 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.7339, allocations: 184.2 kB / 0.6633 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.544e-05/0.734, allocations: 104.9 kB / 0.6634 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007629/0.7348, allocations: 0.531 MB / 0.6639 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.7348, allocations: 0 / 0.6639 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002539/0.7373, allocations: 0.7637 MB / 0.6646 GB, free: 8.207 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003256/0.7406, allocations: 0.9926 MB / 0.6656 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001815/0.7407, allocations: 43.86 kB / 0.6656 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/0.7407, allocations: 0.75 kB / 0.6656 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.168e-06/0.7407, allocations: 7.938 kB / 0.6657 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002382/0.7431, allocations: 0.8964 MB / 0.6665 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.7447, allocations: 0.9891 MB / 0.6675 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005977/0.7453, allocations: 0.886 MB / 0.6684 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.7454, allocations: 55.36 kB / 0.6684 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.7454, allocations: 0 / 0.6684 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of Templates: time 0.03634/0.7818, allocations: 19.69 MB / 0.6876 GB, free: 0.5312 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestSources.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestSources.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestSources -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.663627678062767] Failed to read output from testmodel.py, exit status != 0: 0.792605928145349 0.80710963 0.08841109700000001 Calling exit ...