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.0007664/0.0007664, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001013/0.00178, allocations: 435.8 kB / 10.33 MB, free: 368 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.001156/0.001156, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001455/0.002611, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9677/0.9677, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09562/1.063, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.7452/0.7452, allocations: 154.6 MB / 398.5 MB, free: 0.5391 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2518/0.997, allocations: 49.05 MB / 447.6 MB, free: 6.723 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.824e-06/1.824e-06, allocations: 0 / 448.9 MB, free: 5.438 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.606e-05/2.788e-05, allocations: 5.594 kB / 448.9 MB, free: 5.434 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003844/0.003871, allocations: 1.971 MB / 450.8 MB, free: 3.496 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.005395/0.009266, allocations: 3.76 MB / 454.6 MB, free: 15.77 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001694/0.009436, allocations: 4.531 kB / 454.6 MB, free: 15.76 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008949/0.01033, allocations: 182.1 kB / 454.8 MB, free: 15.59 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000274/0.0106, allocations: 85.22 kB / 454.9 MB, free: 15.5 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001258/0.01073, allocations: 51.91 kB / 454.9 MB, free: 15.45 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003737/0.0111, allocations: 283.2 kB / 455.2 MB, free: 15.18 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.134e-05/0.01119, allocations: 22.44 kB / 455.2 MB, free: 15.16 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.01134, allocations: 138.7 kB / 455.4 MB, free: 15.02 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.154e-05/0.01143, allocations: 59.81 kB / 455.4 MB, free: 14.96 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.01145, allocations: 8 kB / 455.4 MB, free: 14.96 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.638e-05/0.01154, allocations: 31.91 kB / 455.5 MB, free: 14.93 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.881e-05/0.0116, allocations: 52.7 kB / 455.5 MB, free: 14.88 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.578e-05/0.01164, allocations: 47.88 kB / 455.6 MB, free: 14.83 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.01182, allocations: 140.6 kB / 455.7 MB, free: 14.69 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.089e-05/0.01183, allocations: 0 / 455.7 MB, free: 14.69 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.542e-06/0.01183, allocations: 0 / 455.7 MB, free: 14.69 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.01184, allocations: 0 / 455.7 MB, free: 14.69 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.0005138/0.01236, allocations: 478.3 kB / 456.2 MB, free: 14.2 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/0.01239, allocations: 12.03 kB / 456.2 MB, free: 14.19 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002203/0.01261, allocations: 131.2 kB / 456.3 MB, free: 14.05 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.01279, allocations: 186.6 kB / 456.5 MB, free: 13.84 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.0128, allocations: 12.95 kB / 456.5 MB, free: 13.83 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.01281, allocations: 1 kB / 456.5 MB, free: 13.83 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.01297, allocations: 98.47 kB / 456.6 MB, free: 13.73 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.01298, allocations: 9.859 kB / 456.6 MB, free: 13.72 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.01299, allocations: 4.125 kB / 456.6 MB, free: 13.71 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.099e-05/0.01303, allocations: 15.84 kB / 456.6 MB, free: 13.7 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.302e-05/0.01308, allocations: 23.98 kB / 456.6 MB, free: 13.68 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002826/0.01337, allocations: 246.7 kB / 456.9 MB, free: 13.42 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.833e-05/0.01347, allocations: 77.84 kB / 457 MB, free: 13.34 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.561e-05/0.01351, allocations: 28.86 kB / 457 MB, free: 13.3 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.01353, allocations: 1.25 kB / 457 MB, free: 13.3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.01355, allocations: 43.8 kB / 457 MB, free: 13.25 MB / 442.7 MB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.01355, allocations: 0 / 457 MB, free: 13.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=13): time 0.000205/0.01375, allocations: 93.91 kB / 457.1 MB, free: 13.16 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.01378, allocations: 56.06 kB / 457.2 MB, free: 13.09 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.01389, allocations: 236.2 kB / 457.4 MB, free: 12.85 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.01391, allocations: 25.7 kB / 457.4 MB, free: 12.82 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.005e-05/0.01395, allocations: 112.7 kB / 457.5 MB, free: 12.7 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.01398, allocations: 43.58 kB / 457.6 MB, free: 12.66 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/0.01402, allocations: 38.56 kB / 457.6 MB, free: 12.62 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.01415, allocations: 342.8 kB / 458 MB, free: 12.27 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.933e-05/0.01418, allocations: 13.14 kB / 458 MB, free: 12.26 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.463e-05/0.01421, allocations: 12 kB / 458 MB, free: 12.25 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.72e-05/0.01427, allocations: 50.02 kB / 458 MB, free: 12.2 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.01428, allocations: 0 / 458 MB, free: 12.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 9.494e-05/0.01437, allocations: 87.34 kB / 458.1 MB, free: 12.11 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.01438, allocations: 8 kB / 458.1 MB, free: 12.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.01439, allocations: 0 / 458.1 MB, free: 12.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.753e-06/0.01439, allocations: 0 / 458.1 MB, free: 12.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.01452, allocations: 41.44 kB / 458.2 MB, free: 12.06 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.806e-06/0.01453, allocations: 0 / 458.2 MB, free: 12.06 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.059e-05/0.01458, allocations: 11.98 kB / 458.2 MB, free: 12.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.01459, allocations: 0.8125 kB / 458.2 MB, free: 12.05 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 6.203e-05/0.01465, allocations: 120.7 kB / 458.3 MB, free: 11.92 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.62e-05/0.01467, allocations: 22.03 kB / 458.3 MB, free: 11.9 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.482e-05/0.01471, allocations: 34.33 kB / 458.4 MB, free: 11.87 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.01471, allocations: 4 kB / 458.4 MB, free: 11.86 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.01471, allocations: 1.438 kB / 458.4 MB, free: 11.86 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.01472, allocations: 0 / 458.4 MB, free: 11.86 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.01484, allocations: 133.7 kB / 458.5 MB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.01485, allocations: 0 / 458.5 MB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.763e-05/0.01493, allocations: 36.75 kB / 458.5 MB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.582e-05/0.01497, allocations: 27.84 kB / 458.5 MB, free: 11.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.01497, allocations: 4.969 kB / 458.6 MB, free: 11.65 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.076e-06/0.01498, allocations: 4 kB / 458.6 MB, free: 11.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.01498, allocations: 0.8438 kB / 458.6 MB, free: 11.64 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.01498, allocations: 0 / 458.6 MB, free: 11.64 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.01512, allocations: 179.2 kB / 458.7 MB, free: 11.46 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.01513, allocations: 4 kB / 458.7 MB, free: 11.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.738e-05/0.0152, allocations: 18.33 kB / 458.8 MB, free: 11.44 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.51e-05/0.01524, allocations: 11.92 kB / 458.8 MB, free: 11.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.01524, allocations: 4.594 kB / 458.8 MB, free: 11.42 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.226e-05/0.0153, allocations: 88.64 kB / 458.9 MB, free: 11.33 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0153, allocations: 0 / 458.9 MB, free: 11.33 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001531/0.01545, allocations: 36 kB / 458.9 MB, free: 11.3 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.0001102/0.01556, allocations: 89.5 kB / 459 MB, free: 11.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001066/0.01567, allocations: 62.14 kB / 459 MB, free: 11.14 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.01567, allocations: 0 / 459 MB, free: 11.14 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.124e-05/0.01571, allocations: 36.83 kB / 459.1 MB, free: 11.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.01595, allocations: 80.64 kB / 459.2 MB, free: 11.02 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002671/0.01862, allocations: 429.8 kB / 459.6 MB, free: 10.58 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.086e-05/0.01867, allocations: 87.67 kB / 459.7 MB, free: 10.48 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 7.904e-05/0.01875, allocations: 22.91 kB / 459.7 MB, free: 10.46 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002405/0.01899, allocations: 92.42 kB / 459.8 MB, free: 10.37 MB / 442.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01899, allocations: 4 kB / 459.8 MB, free: 10.37 MB / 442.7 MB Notification: Performance of Templates: time 0.004271/0.02326, allocations: 2.879 MB / 462.7 MB, free: 7.719 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.3330164970830083]