Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.002178/0.002178, allocations: 80.2 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.001675/0.001675, allocations: 174.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.429/1.429, 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.167/1.167, allocations: 154.6 MB / 413.8 MB, free: 5.215 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.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.6186 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.611e-05/4.801e-05, allocations: 4.812 kB / 0.6186 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003832/0.00388, allocations: 2.004 MB / 0.6205 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005822/0.009703, allocations: 3.899 MB / 0.6243 GB, free: 14.62 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001331/0.009836, allocations: 3.938 kB / 0.6243 GB, free: 14.62 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009693/0.01081, allocations: 183.1 kB / 0.6245 GB, free: 14.44 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001539/0.01096, allocations: 75.28 kB / 0.6246 GB, free: 14.37 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009604/0.01192, allocations: 310.2 kB / 0.6249 GB, free: 14.07 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007273/0.01265, allocations: 398.6 kB / 0.6253 GB, free: 13.68 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.01277, allocations: 40.58 kB / 0.6253 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002789/0.01305, allocations: 155.6 kB / 0.6255 GB, free: 13.48 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000179/0.01323, allocations: 103.7 kB / 0.6256 GB, free: 13.38 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.969e-05/0.01327, allocations: 16 kB / 0.6256 GB, free: 13.37 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005418/0.01381, allocations: 307.5 kB / 0.6259 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001514/0.01396, allocations: 111.6 kB / 0.626 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.01411, allocations: 87.72 kB / 0.6261 GB, free: 12.87 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009807/0.01509, allocations: 0.5764 MB / 0.6266 GB, free: 12.29 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.0151, allocations: 4 kB / 0.6266 GB, free: 12.29 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.993e-06/0.0151, allocations: 3.938 kB / 0.6266 GB, free: 12.29 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.01511, allocations: 0 / 0.6266 GB, free: 12.29 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001683/0.01679, allocations: 0.6847 MB / 0.6273 GB, free: 11.56 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.01684, allocations: 16.03 kB / 0.6273 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004788/0.01732, allocations: 84.64 kB / 0.6274 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006538/0.01797, allocations: 291.8 kB / 0.6277 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.01799, allocations: 16.38 kB / 0.6277 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.164e-05/0.01802, allocations: 12.38 kB / 0.6277 GB, free: 11.13 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005712/0.01859, allocations: 191.9 kB / 0.6279 GB, free: 10.94 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.0186, allocations: 192 / 0.6279 GB, free: 10.94 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.509e-05/0.01863, allocations: 8.125 kB / 0.6279 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.924e-06/0.01863, allocations: 7.984 kB / 0.6279 GB, free: 10.92 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007723/0.01941, allocations: 247.7 kB / 0.6281 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.02043, allocations: 0.4962 MB / 0.6286 GB, free: 10.15 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004929/0.02093, allocations: 170.4 kB / 0.6288 GB, free: 9.977 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004075/0.02133, allocations: 132.8 kB / 0.6289 GB, free: 9.844 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.916e-05/0.02139, allocations: 15.98 kB / 0.6289 GB, free: 9.828 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.02143, allocations: 38.56 kB / 0.629 GB, free: 9.781 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.283e-06/0.02143, allocations: 0 / 0.629 GB, free: 9.781 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.001428/0.02286, allocations: 441.5 kB / 0.6294 GB, free: 9.344 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.02291, allocations: 59.34 kB / 0.6294 GB, free: 9.273 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004809/0.02339, allocations: 417.9 kB / 0.6298 GB, free: 8.863 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.854e-05/0.02342, allocations: 29.7 kB / 0.6299 GB, free: 8.828 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.02361, allocations: 184 kB / 0.63 GB, free: 8.645 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.27e-05/0.02367, allocations: 39.69 kB / 0.6301 GB, free: 8.605 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.02377, allocations: 37.7 kB / 0.6301 GB, free: 8.562 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002259/0.024, allocations: 350.7 kB / 0.6304 GB, free: 8.211 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005196/0.02452, allocations: 209.6 kB / 0.6306 GB, free: 8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004783/0.025, allocations: 213.6 kB / 0.6308 GB, free: 7.785 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008951/0.02589, allocations: 363.6 kB / 0.6312 GB, free: 7.422 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.02589, allocations: 0 / 0.6312 GB, free: 7.422 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001115/0.02701, allocations: 0.5137 MB / 0.6317 GB, free: 6.891 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.411e-05/0.02706, allocations: 49.69 kB / 0.6317 GB, free: 6.836 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.02707, allocations: 0 / 0.6317 GB, free: 6.836 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.02708, allocations: 0 / 0.6317 GB, free: 6.836 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003265/0.02741, allocations: 43.94 kB / 0.6318 GB, free: 6.793 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.02742, allocations: 4 kB / 0.6318 GB, free: 6.789 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002539/0.02767, allocations: 35.86 kB / 0.6318 GB, free: 6.754 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/0.0277, allocations: 7.984 kB / 0.6318 GB, free: 6.746 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.0001824/0.02788, allocations: 162.7 kB / 0.632 GB, free: 6.578 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.912e-05/0.02795, allocations: 35.77 kB / 0.632 GB, free: 6.543 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/0.02896, allocations: 344.7 kB / 0.6323 GB, free: 6.195 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.02897, allocations: 7.938 kB / 0.6324 GB, free: 6.188 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.02897, allocations: 3.938 kB / 0.6324 GB, free: 6.184 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.02897, allocations: 0 / 0.6324 GB, free: 6.184 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003537/0.02933, allocations: 265.1 kB / 0.6326 GB, free: 5.895 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.02933, allocations: 0 / 0.6326 GB, free: 5.895 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003018/0.02963, allocations: 43.94 kB / 0.6327 GB, free: 5.852 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.02963, allocations: 0 / 0.6327 GB, free: 5.852 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.513e-05/0.02966, allocations: 19.98 kB / 0.6327 GB, free: 5.832 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.02966, allocations: 0 / 0.6327 GB, free: 5.832 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.02966, allocations: 0 / 0.6327 GB, free: 5.832 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009651/0.03063, allocations: 425.7 kB / 0.6331 GB, free: 5.402 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.03074, allocations: 55.67 kB / 0.6331 GB, free: 5.348 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.665e-05/0.03079, allocations: 3.938 kB / 0.6331 GB, free: 5.344 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002813/0.03107, allocations: 27.97 kB / 0.6332 GB, free: 5.316 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.887e-05/0.03116, allocations: 15.97 kB / 0.6332 GB, free: 5.301 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.03118, allocations: 4 kB / 0.6332 GB, free: 5.297 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000323/0.0315, allocations: 295.1 kB / 0.6335 GB, free: 5.008 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.0315, allocations: 4 kB / 0.6335 GB, free: 5.004 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004706/0.03197, allocations: 115.8 kB / 0.6336 GB, free: 4.891 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 (11): * Single equations (assignments): 11 * 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.0003893/0.03236, allocations: 187 kB / 0.6338 GB, free: 4.699 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001074/0.03343, allocations: 468.8 kB / 0.6342 GB, free: 4.223 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.03344, allocations: 0 / 0.6342 GB, free: 4.223 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004562/0.03389, allocations: 139.8 kB / 0.6343 GB, free: 4.086 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004889/0.03438, allocations: 61.48 kB / 0.6344 GB, free: 4.023 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.03556, allocations: 0.6064 MB / 0.635 GB, free: 3.391 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001986/0.03576, allocations: 183.2 kB / 0.6352 GB, free: 3.191 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001709/0.03593, allocations: 49.92 kB / 0.6352 GB, free: 3.141 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.648e-05/0.03603, allocations: 24.48 kB / 0.6352 GB, free: 3.113 MB / 0.545 GB Notification: Performance of SimCode: time 5.91e-07/0.03603, allocations: 0 / 0.6352 GB, free: 3.113 MB / 0.545 GB Notification: Performance of Templates: time 0.01014/0.04617, allocations: 5.074 MB / 0.6402 GB, free: 14.14 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.8206153102219105] Failed to read output from testmodel.py, exit status != 0: 0.05521655082702637 0.06924190300000001 0.050911021 Calling exit ...