Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.001115/0.001115, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001901/0.003016, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001072/0.001072, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001161/0.002233, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9606/0.9606, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1029/1.064, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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-545:108: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-545:116: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.7543/0.7543, allocations: 154.6 MB / 398.8 MB, free: 388 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2584/1.013, allocations: 49.05 MB / 447.8 MB, free: 6.605 MB / 426.7 MB " [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.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 449.1 MB, free: 5.297 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.323e-05/2.51e-05, allocations: 7.656 kB / 449.1 MB, free: 5.293 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003267/0.003292, allocations: 1.982 MB / 451.1 MB, free: 3.344 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.005009/0.008301, allocations: 3.75 MB / 454.9 MB, free: 15.62 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001622/0.008463, allocations: 4 kB / 454.9 MB, free: 15.61 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008751/0.009338, allocations: 191.1 kB / 455.1 MB, free: 15.43 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000233/0.009571, allocations: 84.91 kB / 455.2 MB, free: 15.35 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001561/0.009727, allocations: 52.88 kB / 455.2 MB, free: 15.3 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004941/0.01022, allocations: 276.9 kB / 455.5 MB, free: 15.03 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.01033, allocations: 22.44 kB / 455.5 MB, free: 15 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002408/0.01057, allocations: 138.8 kB / 455.6 MB, free: 14.87 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.01071, allocations: 64.42 kB / 455.7 MB, free: 14.8 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.01073, allocations: 8.625 kB / 455.7 MB, free: 14.8 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.01086, allocations: 36.45 kB / 455.7 MB, free: 14.76 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 7.295e-05/0.01093, allocations: 51.84 kB / 455.8 MB, free: 14.71 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.313e-05/0.01099, allocations: 48.62 kB / 455.8 MB, free: 14.66 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002647/0.01126, allocations: 135.5 kB / 456 MB, free: 14.53 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.135e-05/0.01127, allocations: 1.781 kB / 456 MB, free: 14.53 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.01127, allocations: 0 / 456 MB, free: 14.53 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.472e-05/0.01129, allocations: 0 / 456 MB, free: 14.53 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008579/0.01214, allocations: 481.7 kB / 456.4 MB, free: 14.04 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.01218, allocations: 8.031 kB / 456.5 MB, free: 14.03 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003163/0.0125, allocations: 127 kB / 456.6 MB, free: 13.89 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.01273, allocations: 190.6 kB / 456.8 MB, free: 13.68 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.01275, allocations: 5.562 kB / 456.8 MB, free: 13.68 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.01277, allocations: 4.375 kB / 456.8 MB, free: 13.68 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002196/0.01299, allocations: 103.1 kB / 456.9 MB, free: 13.57 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.013, allocations: 1.25 kB / 456.9 MB, free: 13.57 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.01301, allocations: 8.125 kB / 456.9 MB, free: 13.56 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.448e-05/0.01305, allocations: 15.89 kB / 456.9 MB, free: 13.54 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.446e-05/0.01313, allocations: 24.61 kB / 456.9 MB, free: 13.52 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004178/0.01355, allocations: 247.4 kB / 457.2 MB, free: 13.26 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.01368, allocations: 71.31 kB / 457.2 MB, free: 13.18 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.942e-05/0.01374, allocations: 35.7 kB / 457.3 MB, free: 13.15 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.01376, allocations: 0 / 457.3 MB, free: 13.15 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.01379, allocations: 46.44 kB / 457.3 MB, free: 13.09 MB / 442.7 MB Notification: Performance of pre-optimization done (n=13): time 1.082e-06/0.01379, allocations: 0 / 457.3 MB, free: 13.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002366/0.01402, allocations: 96.45 kB / 457.4 MB, free: 13 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.01406, allocations: 51.41 kB / 457.5 MB, free: 12.93 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.01423, allocations: 232.3 kB / 457.7 MB, free: 12.7 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.01425, allocations: 29.7 kB / 457.7 MB, free: 12.66 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.546e-05/0.01431, allocations: 112.7 kB / 457.8 MB, free: 12.55 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.477e-05/0.01435, allocations: 48.59 kB / 457.9 MB, free: 12.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.547e-05/0.01441, allocations: 29.64 kB / 457.9 MB, free: 12.47 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.01451, allocations: 338.8 kB / 458.2 MB, free: 12.13 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.19e-05/0.01455, allocations: 12.48 kB / 458.2 MB, free: 12.12 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.949e-05/0.01459, allocations: 20.53 kB / 458.3 MB, free: 12.1 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.01469, allocations: 58.31 kB / 458.3 MB, free: 12.04 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.01469, allocations: 0 / 458.3 MB, free: 12.04 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001511/0.01485, allocations: 86.72 kB / 458.4 MB, free: 11.95 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.01486, allocations: 6.219 kB / 458.4 MB, free: 11.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.01487, allocations: 0 / 458.4 MB, free: 11.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.01488, allocations: 0.7188 kB / 458.4 MB, free: 11.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.01507, allocations: 35.91 kB / 458.4 MB, free: 11.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.708e-06/0.01508, allocations: 4.875 kB / 458.4 MB, free: 11.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.538e-05/0.01516, allocations: 8.891 kB / 458.5 MB, free: 11.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.01518, allocations: 4 kB / 458.5 MB, free: 11.89 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 13 * 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 8.398e-05/0.01526, allocations: 117.2 kB / 458.6 MB, free: 11.77 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.263e-05/0.0153, allocations: 21.58 kB / 458.6 MB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.997e-05/0.01535, allocations: 26.45 kB / 458.6 MB, free: 11.72 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.01536, allocations: 4 kB / 458.6 MB, free: 11.72 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.01536, allocations: 4 kB / 458.6 MB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.01536, allocations: 3.984 kB / 458.6 MB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/0.01555, allocations: 127.3 kB / 458.8 MB, free: 11.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.01555, allocations: 0 / 458.8 MB, free: 11.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001501/0.0157, allocations: 43.89 kB / 458.8 MB, free: 11.53 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.469e-05/0.01576, allocations: 27.31 kB / 458.8 MB, free: 11.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.01576, allocations: 3.938 kB / 458.8 MB, free: 11.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.01578, allocations: 8 kB / 458.8 MB, free: 11.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.01578, allocations: 0.875 kB / 458.8 MB, free: 11.49 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01578, allocations: 0 / 458.8 MB, free: 11.49 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002001/0.01598, allocations: 187.2 kB / 459 MB, free: 11.3 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.801e-05/0.01601, allocations: 4 kB / 459 MB, free: 11.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.01612, allocations: 9.844 kB / 459 MB, free: 11.29 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/0.01617, allocations: 15.97 kB / 459.1 MB, free: 11.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.01618, allocations: 0 / 459.1 MB, free: 11.27 MB / 442.7 MB Notification: Performance of sorting global known variables: time 8.316e-05/0.01626, allocations: 84.64 kB / 459.1 MB, free: 11.18 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01626, allocations: 0 / 459.1 MB, free: 11.18 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002481/0.01651, allocations: 40.75 kB / 459.2 MB, free: 11.14 MB / 442.7 MB 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 (13): * Single equations (assignments): 13 * 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.0001525/0.01666, allocations: 101.9 kB / 459.3 MB, free: 11.04 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001505/0.01681, allocations: 52.83 kB / 459.3 MB, free: 10.98 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.298e-06/0.01682, allocations: 4 kB / 459.3 MB, free: 10.98 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.658e-05/0.01691, allocations: 41.78 kB / 459.4 MB, free: 10.94 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007962/0.01771, allocations: 0.594 MB / 460 MB, free: 10.22 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004268/0.02197, allocations: 421.1 kB / 460.4 MB, free: 9.785 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.5e-05/0.02204, allocations: 83.67 kB / 460.5 MB, free: 9.684 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001335/0.02217, allocations: 26.2 kB / 460.5 MB, free: 9.668 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/0.02235, allocations: 96.34 kB / 460.6 MB, free: 9.574 MB / 442.7 MB Notification: Performance of SimCode: time 1.012e-06/0.02235, allocations: 7.938 kB / 460.6 MB, free: 9.566 MB / 442.7 MB Notification: Performance of Templates: time 0.006855/0.0292, allocations: 2.88 MB / 463.5 MB, free: 6.91 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4082084661349654]