Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.SolarCollectors.Examples.Tubular.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.0006643/0.0006643, allocations: 80.44 kB / 19.91 MB, free: 4 kB / 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.0007999/0.0007999, allocations: 169.2 kB / 23.19 MB, free: 1.371 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.8575/0.8575, allocations: 177.2 MB / 203.6 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6955/0.6955, allocations: 154.7 MB / 414.7 MB, free: 0.7656 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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: translateModel(IDEAS.Fluid.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.Examples.Tubular") translateModel(IDEAS.Fluid.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.Examples.Tubular") [Timeout 660] "Notification: IDEAS 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.0007992/0.0007992, allocations: 71.89 kB / 0.6195 GB, free: 13.16 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4509/0.4517, allocations: 101.9 MB / 0.7191 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Examples.Tubular): time 0.02448/0.4762, allocations: 35.31 MB / 0.7536 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.1339/0.6101, allocations: 142.3 MB / 0.8925 GB, free: 44 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002641/0.6127, allocations: 83.36 kB / 0.8926 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.002031/0.6147, allocations: 0.8491 MB / 0.8934 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.004295/0.619, allocations: 2.071 MB / 0.8954 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.004563/0.6236, allocations: 2.492 MB / 0.8979 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.009642/0.6332, allocations: 13.79 MB / 0.9113 GB, free: 12.73 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004649/0.6379, allocations: 4.786 MB / 0.916 GB, free: 7.848 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007203/0.6451, allocations: 6.921 MB / 0.9228 GB, free: 0.9336 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004021/0.6491, allocations: 4.257 MB / 0.9269 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0007902/0.6499, allocations: 0.6875 MB / 0.9276 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003169/0.6531, allocations: 2.056 MB / 0.9296 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.001164/0.6542, allocations: 1.76 MB / 0.9313 GB, free: 8.148 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.002242/0.6565, allocations: 2.758 MB / 0.934 GB, free: 5.379 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.007916/0.6644, allocations: 10.81 MB / 0.9446 GB, free: 10.54 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.6644, allocations: 0 / 0.9446 GB, free: 10.54 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6644, allocations: 0 / 0.9446 GB, free: 10.54 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.767e-05/0.6645, allocations: 3.938 kB / 0.9446 GB, free: 10.54 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1069 * Number of variables: 1069 Notification: Performance of Generate backend data structure: time 0.008407/0.6729, allocations: 6.801 MB / 0.9512 GB, free: 3.656 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.673, allocations: 8.031 kB / 0.9512 GB, free: 3.648 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005119/0.6781, allocations: 1.612 MB / 0.9528 GB, free: 2.031 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006145/0.6842, allocations: 5.118 MB / 0.9578 GB, free: 12.84 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001561/0.6844, allocations: 316.2 kB / 0.9581 GB, free: 12.53 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004267/0.6848, allocations: 404 kB / 0.9585 GB, free: 12.14 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007504/0.6923, allocations: 7.076 MB / 0.9654 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-05/0.6924, allocations: 11.89 kB / 0.9654 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003162/0.6927, allocations: 191.8 kB / 0.9656 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001124/0.6928, allocations: 184 kB / 0.9658 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007494/0.7003, allocations: 5.874 MB / 0.9715 GB, free: 14.34 MB / 0.8542 GB 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.01987/0.7202, allocations: 17.12 MB / 0.9882 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005328/0.7255, allocations: 4.089 MB / 0.9922 GB, free: 8.891 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002328/0.7278, allocations: 1.974 MB / 0.9941 GB, free: 6.906 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007352/0.7286, allocations: 254.2 kB / 0.9944 GB, free: 6.656 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003038/0.7316, allocations: 3.242 MB / 0.9975 GB, free: 3.172 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=301): time 4.949e-06/0.7316, allocations: 0 / 0.9975 GB, free: 3.172 MB / 0.8698 GB Notification: Performance of matching and sorting (n=301): time 0.008395/0.74, allocations: 5.873 MB / 1.003 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.341e-05/0.7401, allocations: 236 kB / 1.003 GB, free: 12.97 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003618/0.7437, allocations: 3.75 MB / 1.007 GB, free: 9.234 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002239/0.7439, allocations: 85.7 kB / 1.007 GB, free: 9.145 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001589/0.7455, allocations: 2.21 MB / 1.009 GB, free: 6.918 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000789/0.7463, allocations: 1.069 MB / 1.01 GB, free: 5.84 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007384/0.747, allocations: 0.6792 MB / 1.011 GB, free: 5.152 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.86e-05/0.7471, allocations: 305.1 kB / 1.011 GB, free: 4.852 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002395/0.7495, allocations: 2.017 MB / 1.013 GB, free: 2.82 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3206/1.07, allocations: 3.001 MB / 1.016 GB, free: 256.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006494/1.077, allocations: 4.618 MB / 1.021 GB, free: 255.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.388e-05/1.077, allocations: 5.219 kB / 1.021 GB, free: 255.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.00817/1.085, allocations: 5.389 MB / 1.026 GB, free: 253.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.451e-05/1.085, allocations: 52.14 kB / 1.026 GB, free: 253.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.403e-05/1.085, allocations: 20.06 kB / 1.026 GB, free: 253.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003677/1.085, allocations: 115.8 kB / 1.026 GB, free: 253.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002263/1.087, allocations: 0.8346 MB / 1.027 GB, free: 253.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001295/1.089, allocations: 2.138 MB / 1.029 GB, free: 251.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002378/1.091, allocations: 473 kB / 1.03 GB, free: 251.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002387/1.091, allocations: 162 kB / 1.03 GB, free: 251.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004363/1.096, allocations: 3.4 MB / 1.033 GB, free: 250.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002881/1.099, allocations: 3.007 MB / 1.036 GB, free: 248.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005229/1.104, allocations: 4.617 MB / 1.041 GB, free: 246.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.178e-05/1.104, allocations: 5.219 kB / 1.041 GB, free: 246.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=430) (initialization_lambda0): time 0.007301/1.111, allocations: 5.387 MB / 1.046 GB, free: 244.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.8e-05/1.111, allocations: 54.17 kB / 1.046 GB, free: 244.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/1.111, allocations: 16.12 kB / 1.046 GB, free: 244.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003024/1.112, allocations: 112.1 kB / 1.046 GB, free: 244.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002055/1.114, allocations: 0.8275 MB / 1.047 GB, free: 244.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001052/1.115, allocations: 1.563 MB / 1.048 GB, free: 242.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002343/1.117, allocations: 423.6 kB / 1.049 GB, free: 242.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002366/1.117, allocations: 162.6 kB / 1.049 GB, free: 242.8 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 23 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,solCol.HDirTil.incAng.decAng.tNext,$PRE.solCol.HDirTil.incAng.decAng.tNext,solCol.HDifTilIso.incAng.decAng.tNext,$PRE.solCol.HDifTilIso.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (419): * Single equations (assignments): 416 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008227/1.118, allocations: 399.8 kB / 1.049 GB, free: 242.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006112/1.119, allocations: 415 kB / 1.05 GB, free: 242.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006963/1.126, allocations: 4.999 MB / 1.055 GB, free: 240.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005193/1.131, allocations: 4.081 MB / 1.059 GB, free: 238.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/1.131, allocations: 3.797 kB / 1.059 GB, free: 238.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001679/1.132, allocations: 1.019 MB / 1.06 GB, free: 238.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004446/1.133, allocations: 73.17 kB / 1.06 GB, free: 238.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001594/1.135, allocations: 257.7 kB / 1.06 GB, free: 238.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003399/1.135, allocations: 214.8 kB / 1.06 GB, free: 238.2 MB / 0.8855 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006169/1.141, allocations: 4.663 MB / 1.065 GB, free: 236.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007897/1.149, allocations: 7.324 MB / 1.072 GB, free: 233.6 MB / 0.8855 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002006/1.151, allocations: 1.959 MB / 1.074 GB, free: 232.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002282/1.153, allocations: 2.593 MB / 1.076 GB, free: 231.5 MB / 0.8855 GB Notification: Performance of Backend: time 5.31e-07/1.153, allocations: 0 / 1.076 GB, free: 231.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.008978/1.162, allocations: 6.759 MB / 1.083 GB, free: 228.1 MB / 0.8855 GB Notification: Performance of SimCode: time 0.009747/1.172, allocations: 10.88 MB / 1.093 GB, free: 217.3 MB / 0.8855 GB Notification: Performance of Templates: time 0.09008/1.262, allocations: 116 MB / 1.207 GB, free: 102.2 MB / 0.8855 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.SolarCollectors.Examples.Tubular.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.Examples.Tubular.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.Examples.Tubular.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.Examples.Tubular.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.Examples.Tubular.sim & ./IDEAS_IDEAS.Fluid.SolarCollectors.Examples.Tubular -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.Examples.Tubular.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.551835421007127] Failed to read output from testmodel.py, exit status != 0: 1.2673179290723056 1.273332589 0.607487419 Calling exit ...