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.0009303/0.0009303, allocations: 76.5 kB / 19.93 MB, free: 4.621 MB / 18.57 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.0008502/0.0008502, allocations: 173.9 kB / 23.21 MB, free: 1.344 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.879/0.879, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.6897/0.6897, allocations: 154.6 MB / 414.5 MB, free: 0.8047 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.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.342e-06/1.342e-06, allocations: 0 / 0.6193 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.428e-05/2.562e-05, allocations: 6 kB / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002286/0.002311, allocations: 1.855 MB / 0.6211 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003364/0.005675, allocations: 3.452 MB / 0.6245 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.0058, allocations: 7.938 kB / 0.6245 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0007475/0.006548, allocations: 174 kB / 0.6247 GB, free: 7.664 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001947/0.006743, allocations: 83.34 kB / 0.6248 GB, free: 7.582 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001257/0.006868, allocations: 55.91 kB / 0.6248 GB, free: 7.527 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0004333/0.007302, allocations: 286.9 kB / 0.6251 GB, free: 7.246 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.527e-05/0.007397, allocations: 33.7 kB / 0.6251 GB, free: 7.215 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.00752, allocations: 103.7 kB / 0.6252 GB, free: 7.113 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.00763, allocations: 59.81 kB / 0.6253 GB, free: 7.055 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.007648, allocations: 8 kB / 0.6253 GB, free: 7.047 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.591e-05/0.007734, allocations: 39.91 kB / 0.6253 GB, free: 7.008 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.31e-05/0.007797, allocations: 51.84 kB / 0.6254 GB, free: 6.957 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.762e-05/0.007855, allocations: 59.78 kB / 0.6254 GB, free: 6.898 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.008087, allocations: 195.3 kB / 0.6256 GB, free: 6.707 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.008091, allocations: 4 kB / 0.6256 GB, free: 6.703 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.493e-06/0.008092, allocations: 0 / 0.6256 GB, free: 6.703 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.008098, allocations: 3.938 kB / 0.6256 GB, free: 6.699 MB / 0.5886 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.0006169/0.008715, allocations: 476.8 kB / 0.6261 GB, free: 6.203 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.008752, allocations: 12.03 kB / 0.6261 GB, free: 6.191 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002174/0.00897, allocations: 60.7 kB / 0.6261 GB, free: 6.133 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/0.009292, allocations: 205.8 kB / 0.6263 GB, free: 5.906 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.009303, allocations: 4.359 kB / 0.6263 GB, free: 5.902 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.009318, allocations: 4.375 kB / 0.6263 GB, free: 5.898 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002306/0.009548, allocations: 140.2 kB / 0.6265 GB, free: 5.758 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.009557, allocations: 8.125 kB / 0.6265 GB, free: 5.75 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.009571, allocations: 8.125 kB / 0.6265 GB, free: 5.742 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.374e-05/0.009595, allocations: 11.98 kB / 0.6265 GB, free: 5.73 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002419/0.009837, allocations: 139.8 kB / 0.6266 GB, free: 5.594 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004701/0.01031, allocations: 380.4 kB / 0.627 GB, free: 5.191 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002379/0.01054, allocations: 166.3 kB / 0.6272 GB, free: 5.02 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.01069, allocations: 100.8 kB / 0.6273 GB, free: 4.918 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.0107, allocations: 4 kB / 0.6273 GB, free: 4.914 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.717e-05/0.01072, allocations: 30.56 kB / 0.6273 GB, free: 4.875 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.01072, allocations: 0 / 0.6273 GB, free: 4.875 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13): time 0.0004962/0.01122, allocations: 297.6 kB / 0.6276 GB, free: 4.578 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.01125, allocations: 55.41 kB / 0.6276 GB, free: 4.512 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004335/0.01169, allocations: 256.2 kB / 0.6279 GB, free: 4.262 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.0117, allocations: 29.64 kB / 0.6279 GB, free: 4.227 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.777e-05/0.01178, allocations: 152 kB / 0.628 GB, free: 4.074 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.58e-05/0.01182, allocations: 35.66 kB / 0.6281 GB, free: 4.039 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.791e-05/0.01187, allocations: 33.7 kB / 0.6281 GB, free: 4 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.628e-05/0.01195, allocations: 334.8 kB / 0.6284 GB, free: 3.664 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.01207, allocations: 75.94 kB / 0.6285 GB, free: 3.59 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.01219, allocations: 75.92 kB / 0.6286 GB, free: 3.516 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002377/0.01243, allocations: 163.4 kB / 0.6287 GB, free: 3.355 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.01243, allocations: 0 / 0.6287 GB, free: 3.355 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002996/0.01273, allocations: 229.4 kB / 0.629 GB, free: 3.125 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.01275, allocations: 7.938 kB / 0.629 GB, free: 3.117 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.01275, allocations: 0 / 0.629 GB, free: 3.117 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.01277, allocations: 3.984 kB / 0.629 GB, free: 3.113 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.0129, allocations: 35.91 kB / 0.629 GB, free: 3.078 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.01291, allocations: 8 kB / 0.629 GB, free: 3.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.765e-05/0.01299, allocations: 23.94 kB / 0.629 GB, free: 3.047 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-06/0.013, allocations: 3.984 kB / 0.629 GB, free: 3.043 MB / 0.5886 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 9.427e-05/0.01309, allocations: 138.8 kB / 0.6292 GB, free: 2.898 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/0.01312, allocations: 27.8 kB / 0.6292 GB, free: 2.871 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.713e-05/0.01316, allocations: 29.8 kB / 0.6292 GB, free: 2.84 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/0.01316, allocations: 0 / 0.6292 GB, free: 2.84 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.01317, allocations: 0 / 0.6292 GB, free: 2.84 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.01317, allocations: 7.984 kB / 0.6292 GB, free: 2.832 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.01335, allocations: 205.1 kB / 0.6294 GB, free: 2.602 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.01335, allocations: 3.984 kB / 0.6294 GB, free: 2.598 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.573e-05/0.01345, allocations: 39.84 kB / 0.6295 GB, free: 2.559 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.01345, allocations: 0 / 0.6295 GB, free: 2.559 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.01346, allocations: 4 kB / 0.6295 GB, free: 2.555 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.01347, allocations: 0 / 0.6295 GB, free: 2.555 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.01347, allocations: 0 / 0.6295 GB, free: 2.555 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003355/0.0138, allocations: 326.5 kB / 0.6298 GB, free: 2.223 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.563e-05/0.01386, allocations: 39.78 kB / 0.6298 GB, free: 2.184 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.01388, allocations: 0 / 0.6298 GB, free: 2.184 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.388e-05/0.01396, allocations: 19.97 kB / 0.6298 GB, free: 2.164 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.867e-05/0.01401, allocations: 11.92 kB / 0.6298 GB, free: 2.152 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.01402, allocations: 4 kB / 0.6299 GB, free: 2.148 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001088/0.01413, allocations: 187.1 kB / 0.63 GB, free: 1.965 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.01413, allocations: 4 kB / 0.63 GB, free: 1.961 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002041/0.01433, allocations: 43.94 kB / 0.6301 GB, free: 1.918 MB / 0.5886 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.0001496/0.01448, allocations: 103.2 kB / 0.6302 GB, free: 1.809 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003151/0.0148, allocations: 167.8 kB / 0.6303 GB, free: 1.645 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.0148, allocations: 4 kB / 0.6303 GB, free: 1.641 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.01493, allocations: 91.92 kB / 0.6304 GB, free: 1.551 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.01524, allocations: 48.89 kB / 0.6305 GB, free: 1.5 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006276/0.01587, allocations: 488.7 kB / 0.6309 GB, free: 0.9844 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.183e-05/0.01596, allocations: 140.1 kB / 0.6311 GB, free: 0.8281 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.88e-05/0.01602, allocations: 20.48 kB / 0.6311 GB, free: 0.8086 MB / 0.5886 GB Notification: Performance of SimCode: time 8.01e-07/0.01602, allocations: 4 kB / 0.6311 GB, free: 0.8047 MB / 0.5886 GB Notification: Performance of Templates: time 0.003693/0.01971, allocations: 2.948 MB / 0.634 GB, free: 13.89 MB / 0.6042 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.440617782063782] Failed to read output from testmodel.py, exit status != 0: 0.02639084216207266 0.039353233 0.029367119 Calling exit ...