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.001358/0.001358, allocations: 78.33 kB / 19.18 MB, free: 2.516 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.001426/0.001426, allocations: 167.4 kB / 22.46 MB, free: 5.367 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.408/1.408, allocations: 177.2 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] 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 1.17/1.17, allocations: 154.7 MB / 413.9 MB, free: 5.156 MB / 382.1 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 178] 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.803e-06/1.803e-06, allocations: 0 / 0.6187 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.746e-05/2.927e-05, allocations: 8.234 kB / 0.6187 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003126/0.003155, allocations: 1.855 MB / 0.6206 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004586/0.007741, allocations: 3.455 MB / 0.6239 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.007844, allocations: 8 kB / 0.6239 GB, free: 15.24 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008775/0.008721, allocations: 167.2 kB / 0.6241 GB, free: 15.07 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002227/0.008944, allocations: 91.39 kB / 0.6242 GB, free: 14.98 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001414/0.009086, allocations: 51.91 kB / 0.6242 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005331/0.009619, allocations: 283 kB / 0.6245 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.009722, allocations: 13.81 kB / 0.6245 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.009895, allocations: 107.6 kB / 0.6246 GB, free: 14.54 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.01003, allocations: 67.8 kB / 0.6247 GB, free: 14.47 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.34e-05/0.01005, allocations: 8 kB / 0.6247 GB, free: 14.46 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.754e-05/0.01014, allocations: 27.98 kB / 0.6247 GB, free: 14.44 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.287e-05/0.01022, allocations: 63.75 kB / 0.6248 GB, free: 14.38 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.73e-05/0.0103, allocations: 51.84 kB / 0.6248 GB, free: 14.32 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002826/0.01058, allocations: 199.2 kB / 0.625 GB, free: 14.13 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.01059, allocations: 4 kB / 0.625 GB, free: 14.12 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.253e-06/0.01059, allocations: 0 / 0.625 GB, free: 14.12 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.261e-06/0.0106, allocations: 4 kB / 0.625 GB, free: 14.12 MB / 0.545 GB 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.0008445/0.01144, allocations: 472.8 kB / 0.6255 GB, free: 13.63 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.01147, allocations: 12.03 kB / 0.6255 GB, free: 13.62 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003554/0.01183, allocations: 60.7 kB / 0.6255 GB, free: 13.56 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004225/0.01225, allocations: 205.9 kB / 0.6257 GB, free: 13.33 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.01227, allocations: 8.375 kB / 0.6258 GB, free: 13.32 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.01229, allocations: 384 / 0.6258 GB, free: 13.32 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003654/0.01265, allocations: 138.1 kB / 0.6259 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.01266, allocations: 192 / 0.6259 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/0.01268, allocations: 8.109 kB / 0.6259 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.053e-05/0.01271, allocations: 15.98 kB / 0.6259 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004233/0.01314, allocations: 139.9 kB / 0.626 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006837/0.01382, allocations: 380.2 kB / 0.6264 GB, free: 12.62 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004228/0.01424, allocations: 166.4 kB / 0.6266 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002513/0.01449, allocations: 104.7 kB / 0.6267 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.01451, allocations: 0 / 0.6267 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.01455, allocations: 38.56 kB / 0.6267 GB, free: 12.3 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 9.62e-07/0.01455, allocations: 3.938 kB / 0.6267 GB, free: 12.29 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0008324/0.01539, allocations: 300.4 kB / 0.627 GB, free: 12 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.01543, allocations: 55.39 kB / 0.627 GB, free: 11.93 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000261/0.01569, allocations: 256.2 kB / 0.6273 GB, free: 11.67 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.01571, allocations: 29.7 kB / 0.6273 GB, free: 11.64 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.01582, allocations: 132.1 kB / 0.6274 GB, free: 11.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.64e-05/0.01589, allocations: 59.52 kB / 0.6275 GB, free: 11.45 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.173e-05/0.01595, allocations: 25.7 kB / 0.6275 GB, free: 11.41 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.01611, allocations: 342.8 kB / 0.6278 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/0.01634, allocations: 71.94 kB / 0.6279 GB, free: 11 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002129/0.01656, allocations: 71.94 kB / 0.628 GB, free: 10.93 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004545/0.01701, allocations: 168.7 kB / 0.6281 GB, free: 10.76 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.01701, allocations: 0 / 0.6281 GB, free: 10.76 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005345/0.01755, allocations: 232.3 kB / 0.6284 GB, free: 10.53 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.01756, allocations: 8 kB / 0.6284 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.01757, allocations: 4 kB / 0.6284 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.01758, allocations: 0 / 0.6284 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/0.01783, allocations: 31.97 kB / 0.6284 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.01783, allocations: 0 / 0.6284 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/0.01799, allocations: 15.97 kB / 0.6284 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.018, allocations: 4 kB / 0.6284 GB, free: 10.47 MB / 0.545 GB 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 0.000136/0.01814, allocations: 138.8 kB / 0.6286 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.095e-05/0.01819, allocations: 31.75 kB / 0.6286 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.166e-05/0.01825, allocations: 37.8 kB / 0.6286 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.01825, allocations: 0 / 0.6286 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.371e-06/0.01826, allocations: 8 kB / 0.6286 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.01826, allocations: 0 / 0.6286 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002695/0.01853, allocations: 197.2 kB / 0.6288 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.01853, allocations: 4 kB / 0.6288 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002352/0.01876, allocations: 39.91 kB / 0.6289 GB, free: 9.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.01877, allocations: 0 / 0.6289 GB, free: 9.98 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.01878, allocations: 3.984 kB / 0.6289 GB, free: 9.977 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.01878, allocations: 4 kB / 0.6289 GB, free: 9.973 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.01878, allocations: 3.938 kB / 0.6289 GB, free: 9.969 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005917/0.01938, allocations: 323.2 kB / 0.6292 GB, free: 9.637 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.534e-05/0.01946, allocations: 43.77 kB / 0.6292 GB, free: 9.594 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.01949, allocations: 0 / 0.6292 GB, free: 9.594 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.01968, allocations: 15.98 kB / 0.6292 GB, free: 9.578 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.061e-05/0.01974, allocations: 11.98 kB / 0.6293 GB, free: 9.566 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.01976, allocations: 7.984 kB / 0.6293 GB, free: 9.559 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001741/0.01993, allocations: 187.1 kB / 0.6294 GB, free: 9.375 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.01993, allocations: 0 / 0.6294 GB, free: 9.375 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002736/0.0202, allocations: 43.88 kB / 0.6295 GB, free: 9.332 MB / 0.545 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 (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.0001578/0.02036, allocations: 99.25 kB / 0.6296 GB, free: 9.223 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005245/0.02089, allocations: 175.8 kB / 0.6297 GB, free: 9.051 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.02089, allocations: 0 / 0.6297 GB, free: 9.051 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002425/0.02113, allocations: 87.86 kB / 0.6298 GB, free: 8.965 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004057/0.02154, allocations: 56.08 kB / 0.6299 GB, free: 8.91 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008437/0.02238, allocations: 455.2 kB / 0.6303 GB, free: 8.438 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.02252, allocations: 136.1 kB / 0.6304 GB, free: 8.285 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001652/0.02269, allocations: 53.42 kB / 0.6305 GB, free: 8.23 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.624e-05/0.02274, allocations: 20.48 kB / 0.6305 GB, free: 8.211 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.02274, allocations: 4 kB / 0.6305 GB, free: 8.207 MB / 0.545 GB Notification: Performance of Templates: time 0.006277/0.02902, allocations: 2.618 MB / 0.6331 GB, free: 5.691 MB / 0.545 GB " [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=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.610676454380155] Failed to read output from testmodel.py, exit status != 0: 0.037391846999526024 0.052840861 0.038974362000000005 Calling exit ...