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.001608/0.001608, allocations: 80.52 kB / 19.18 MB, free: 2.527 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.00213/0.00213, allocations: 170.6 kB / 22.46 MB, free: 5.355 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.458/1.458, allocations: 177.1 MB / 202.8 MB, free: 9.172 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.192/1.192, allocations: 154.6 MB / 413.8 MB, free: 5.234 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.603e-06/1.603e-06, allocations: 0 / 0.6186 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.726e-05/2.886e-05, allocations: 3.5 kB / 0.6186 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003723/0.003752, allocations: 1.838 MB / 0.6204 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005625/0.009377, allocations: 3.464 MB / 0.6238 GB, free: 15.23 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001412/0.009518, allocations: 0 / 0.6238 GB, free: 15.23 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009307/0.01045, allocations: 183.1 kB / 0.6239 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002627/0.01071, allocations: 83.34 kB / 0.624 GB, free: 14.97 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000155/0.01087, allocations: 47.92 kB / 0.6241 GB, free: 14.92 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006092/0.01148, allocations: 286.9 kB / 0.6243 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.01159, allocations: 21.78 kB / 0.6244 GB, free: 14.62 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002259/0.01181, allocations: 107.7 kB / 0.6245 GB, free: 14.52 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001823/0.012, allocations: 63.81 kB / 0.6245 GB, free: 14.45 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.505e-05/0.01203, allocations: 11.94 kB / 0.6245 GB, free: 14.44 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.01215, allocations: 31.91 kB / 0.6246 GB, free: 14.41 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.618e-05/0.01225, allocations: 63.77 kB / 0.6246 GB, free: 14.35 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.032e-05/0.01234, allocations: 59.84 kB / 0.6247 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003311/0.01267, allocations: 195.3 kB / 0.6249 GB, free: 14.1 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.01267, allocations: 0 / 0.6249 GB, free: 14.1 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.072e-06/0.01267, allocations: 0 / 0.6249 GB, free: 14.1 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.01269, allocations: 0 / 0.6249 GB, free: 14.1 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.001013/0.0137, allocations: 480.7 kB / 0.6253 GB, free: 13.6 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.01374, allocations: 8.031 kB / 0.6253 GB, free: 13.59 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004128/0.01415, allocations: 60.72 kB / 0.6254 GB, free: 13.53 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005044/0.01466, allocations: 205.9 kB / 0.6256 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.01467, allocations: 8.359 kB / 0.6256 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.01469, allocations: 4.375 kB / 0.6256 GB, free: 13.29 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004024/0.01509, allocations: 138.1 kB / 0.6257 GB, free: 13.15 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.0151, allocations: 192 / 0.6257 GB, free: 13.15 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/0.01513, allocations: 4.125 kB / 0.6257 GB, free: 13.15 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.921e-05/0.01516, allocations: 12 kB / 0.6257 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004833/0.01564, allocations: 143.9 kB / 0.6259 GB, free: 13 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007803/0.01642, allocations: 384.2 kB / 0.6263 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004667/0.01689, allocations: 170.4 kB / 0.6264 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002712/0.01716, allocations: 100.7 kB / 0.6265 GB, free: 12.31 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.01718, allocations: 4 kB / 0.6265 GB, free: 12.31 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.01722, allocations: 42.55 kB / 0.6266 GB, free: 12.26 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.223e-06/0.01722, allocations: 3.938 kB / 0.6266 GB, free: 12.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0009448/0.01816, allocations: 297.4 kB / 0.6268 GB, free: 11.96 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.388e-05/0.01822, allocations: 55.41 kB / 0.6269 GB, free: 11.89 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002699/0.01849, allocations: 252.2 kB / 0.6271 GB, free: 11.64 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.01851, allocations: 29.7 kB / 0.6272 GB, free: 11.61 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.01863, allocations: 136.1 kB / 0.6273 GB, free: 11.47 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.66e-05/0.01869, allocations: 51.53 kB / 0.6273 GB, free: 11.42 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.927e-05/0.01876, allocations: 25.7 kB / 0.6274 GB, free: 11.39 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.01892, allocations: 338.8 kB / 0.6277 GB, free: 11.05 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002543/0.01918, allocations: 71.94 kB / 0.6278 GB, free: 10.98 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002342/0.01941, allocations: 75.94 kB / 0.6278 GB, free: 10.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005057/0.01992, allocations: 172.7 kB / 0.628 GB, free: 10.73 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01992, allocations: 0 / 0.628 GB, free: 10.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005844/0.0205, allocations: 225.4 kB / 0.6282 GB, free: 10.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.02052, allocations: 6.188 kB / 0.6282 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.02052, allocations: 0 / 0.6282 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.02054, allocations: 0 / 0.6282 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002463/0.02079, allocations: 35.91 kB / 0.6283 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.02079, allocations: 0 / 0.6283 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.02096, allocations: 23.91 kB / 0.6283 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/0.02098, allocations: 8 kB / 0.6283 GB, free: 10.43 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.0001389/0.02112, allocations: 134.8 kB / 0.6284 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.256e-05/0.02117, allocations: 27.75 kB / 0.6284 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.339e-05/0.02124, allocations: 33.8 kB / 0.6285 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.02124, allocations: 4 kB / 0.6285 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.02125, allocations: 0 / 0.6285 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.02125, allocations: 3.984 kB / 0.6285 GB, free: 10.22 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002798/0.02153, allocations: 201.2 kB / 0.6287 GB, free: 9.996 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.02153, allocations: 4 kB / 0.6287 GB, free: 9.992 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002245/0.02176, allocations: 35.91 kB / 0.6287 GB, free: 9.957 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/0.02177, allocations: 7.984 kB / 0.6287 GB, free: 9.949 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.02178, allocations: 0 / 0.6287 GB, free: 9.949 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.231e-06/0.02179, allocations: 7.938 kB / 0.6287 GB, free: 9.941 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.02179, allocations: 3.938 kB / 0.6287 GB, free: 9.938 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006726/0.02246, allocations: 322.1 kB / 0.629 GB, free: 9.609 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.744e-05/0.02255, allocations: 43.77 kB / 0.6291 GB, free: 9.566 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.247e-05/0.02259, allocations: 4 kB / 0.6291 GB, free: 9.562 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.02279, allocations: 11.98 kB / 0.6291 GB, free: 9.551 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.388e-05/0.02285, allocations: 11.97 kB / 0.6291 GB, free: 9.539 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.02286, allocations: 4 kB / 0.6291 GB, free: 9.535 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001899/0.02305, allocations: 187.1 kB / 0.6293 GB, free: 9.352 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.02305, allocations: 0 / 0.6293 GB, free: 9.352 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002949/0.02335, allocations: 43.94 kB / 0.6293 GB, free: 9.309 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.0001856/0.02354, allocations: 107.2 kB / 0.6294 GB, free: 9.191 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005601/0.0241, allocations: 167.9 kB / 0.6296 GB, free: 9.027 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.0241, allocations: 0 / 0.6296 GB, free: 9.027 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00034/0.02444, allocations: 91.88 kB / 0.6297 GB, free: 8.938 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004338/0.02487, allocations: 48.88 kB / 0.6297 GB, free: 8.887 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009433/0.02581, allocations: 459.1 kB / 0.6302 GB, free: 8.41 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001473/0.02596, allocations: 132.1 kB / 0.6303 GB, free: 8.262 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001735/0.02614, allocations: 61.42 kB / 0.6303 GB, free: 8.199 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.048e-05/0.02621, allocations: 20.48 kB / 0.6304 GB, free: 8.18 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.02621, allocations: 0 / 0.6304 GB, free: 8.18 MB / 0.545 GB Notification: Performance of Templates: time 0.006867/0.03307, allocations: 2.592 MB / 0.6329 GB, free: 5.688 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.710703603923321] Failed to read output from testmodel.py, exit status != 0: 0.04229600727558136 0.058934560000000004 0.042895487 Calling exit ...