Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.001438/0.001438, allocations: 80.33 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.001607/0.001607, allocations: 164.6 kB / 22.46 MB, free: 5.359 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.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.245/1.245, allocations: 154.6 MB / 413.8 MB, free: 5.207 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.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 0.6186 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.54e-05/2.721e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003544/0.003571, allocations: 2.09 MB / 0.6206 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005744/0.009315, allocations: 3.931 MB / 0.6245 GB, free: 14.5 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001604/0.009475, allocations: 7.938 kB / 0.6245 GB, free: 14.49 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009187/0.01039, allocations: 171.1 kB / 0.6246 GB, free: 14.32 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002027/0.0106, allocations: 91.14 kB / 0.6247 GB, free: 14.23 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009018/0.0115, allocations: 346.4 kB / 0.6251 GB, free: 13.89 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007491/0.01225, allocations: 462.5 kB / 0.6255 GB, free: 13.44 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.0124, allocations: 32.91 kB / 0.6255 GB, free: 13.41 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002895/0.01269, allocations: 187.6 kB / 0.6257 GB, free: 13.22 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002076/0.0129, allocations: 127.6 kB / 0.6258 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.925e-05/0.01295, allocations: 20 kB / 0.6258 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006027/0.01355, allocations: 331.4 kB / 0.6262 GB, free: 12.75 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.01369, allocations: 115.6 kB / 0.6263 GB, free: 12.64 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001492/0.01384, allocations: 115.7 kB / 0.6264 GB, free: 12.53 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008356/0.01467, allocations: 0.6425 MB / 0.627 GB, free: 11.88 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.01468, allocations: 0 / 0.627 GB, free: 11.88 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.01e-07/0.01468, allocations: 0 / 0.627 GB, free: 11.88 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.01469, allocations: 4 kB / 0.627 GB, free: 11.88 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001597/0.01628, allocations: 0.7431 MB / 0.6277 GB, free: 11.1 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.01633, allocations: 8.031 kB / 0.6277 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001443/0.01777, allocations: 236.4 kB / 0.628 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009836/0.01875, allocations: 348 kB / 0.6283 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.01876, allocations: 8.562 kB / 0.6283 GB, free: 10.49 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.707e-05/0.0188, allocations: 20.31 kB / 0.6283 GB, free: 10.47 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007461/0.01955, allocations: 255.8 kB / 0.6286 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.01956, allocations: 0 / 0.6286 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/0.01958, allocations: 0 / 0.6286 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.01959, allocations: 4 kB / 0.6286 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.02069, allocations: 327.7 kB / 0.6289 GB, free: 9.895 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00144/0.02213, allocations: 0.5898 MB / 0.6295 GB, free: 9.273 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006223/0.02275, allocations: 206.4 kB / 0.6297 GB, free: 9.062 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005429/0.02329, allocations: 172.7 kB / 0.6298 GB, free: 8.891 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.718e-05/0.02335, allocations: 23.98 kB / 0.6299 GB, free: 8.867 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.02338, allocations: 34.56 kB / 0.6299 GB, free: 8.824 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.263e-06/0.02338, allocations: 0 / 0.6299 GB, free: 8.824 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.001957/0.02534, allocations: 0.5676 MB / 0.6304 GB, free: 8.25 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.02539, allocations: 59.41 kB / 0.6305 GB, free: 8.18 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000566/0.02596, allocations: 445.8 kB / 0.6309 GB, free: 7.742 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.091e-05/0.026, allocations: 37.7 kB / 0.631 GB, free: 7.699 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001653/0.02616, allocations: 196.4 kB / 0.6311 GB, free: 7.504 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.115e-05/0.02621, allocations: 39.64 kB / 0.6312 GB, free: 7.465 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.02633, allocations: 53.69 kB / 0.6312 GB, free: 7.406 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001834/0.02651, allocations: 346.8 kB / 0.6316 GB, free: 7.059 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000732/0.02724, allocations: 341.7 kB / 0.6319 GB, free: 6.719 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007495/0.02799, allocations: 334 kB / 0.6322 GB, free: 6.387 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/0.0293, allocations: 0.5241 MB / 0.6327 GB, free: 5.855 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.02931, allocations: 0 / 0.6327 GB, free: 5.855 MB / 0.545 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001705/0.03101, allocations: 0.7635 MB / 0.6335 GB, free: 5.074 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.679e-05/0.03107, allocations: 41.69 kB / 0.6335 GB, free: 5.027 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.03108, allocations: 4 kB / 0.6335 GB, free: 5.023 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.03109, allocations: 0 / 0.6335 GB, free: 5.023 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004707/0.03156, allocations: 71.91 kB / 0.6336 GB, free: 4.953 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.03157, allocations: 0 / 0.6336 GB, free: 4.953 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003676/0.03194, allocations: 55.72 kB / 0.6336 GB, free: 4.898 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.22e-05/0.03197, allocations: 7.984 kB / 0.6336 GB, free: 4.891 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 (18): * Single equations (assignments): 17 * 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.0002203/0.03219, allocations: 162.7 kB / 0.6338 GB, free: 4.723 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.285e-05/0.03227, allocations: 43.66 kB / 0.6338 GB, free: 4.68 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001422/0.0337, allocations: 440.8 kB / 0.6343 GB, free: 4.234 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.0337, allocations: 4 kB / 0.6343 GB, free: 4.23 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.237e-06/0.03371, allocations: 0 / 0.6343 GB, free: 4.23 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.03371, allocations: 7.922 kB / 0.6343 GB, free: 4.223 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003971/0.03411, allocations: 281 kB / 0.6345 GB, free: 3.918 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.03411, allocations: 4 kB / 0.6345 GB, free: 3.914 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004484/0.03456, allocations: 63.92 kB / 0.6346 GB, free: 3.852 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.03456, allocations: 0 / 0.6346 GB, free: 3.852 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.57e-05/0.03459, allocations: 3.984 kB / 0.6346 GB, free: 3.848 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.03459, allocations: 4 kB / 0.6346 GB, free: 3.844 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.03459, allocations: 0 / 0.6346 GB, free: 3.844 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001371/0.03596, allocations: 0.5061 MB / 0.6351 GB, free: 3.324 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.0361, allocations: 67.61 kB / 0.6352 GB, free: 3.258 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.251e-05/0.03615, allocations: 4 kB / 0.6352 GB, free: 3.254 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003599/0.03651, allocations: 35.95 kB / 0.6352 GB, free: 3.219 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.533e-05/0.03659, allocations: 15.97 kB / 0.6352 GB, free: 3.203 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/0.03662, allocations: 7.984 kB / 0.6352 GB, free: 3.195 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000359/0.03698, allocations: 311.1 kB / 0.6355 GB, free: 2.891 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.03698, allocations: 0 / 0.6355 GB, free: 2.891 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005126/0.03749, allocations: 131.8 kB / 0.6357 GB, free: 2.762 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.0004249/0.03791, allocations: 187 kB / 0.6358 GB, free: 2.57 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001653/0.03957, allocations: 0.6351 MB / 0.6364 GB, free: 1.918 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.03957, allocations: 0 / 0.6364 GB, free: 1.918 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006003/0.04017, allocations: 183.8 kB / 0.6366 GB, free: 1.738 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004811/0.04065, allocations: 57.81 kB / 0.6367 GB, free: 1.684 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.04206, allocations: 0.675 MB / 0.6373 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.04231, allocations: 195.5 kB / 0.6375 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002353/0.04255, allocations: 61.91 kB / 0.6376 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.04267, allocations: 32.48 kB / 0.6376 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of SimCode: time 6.11e-07/0.04267, allocations: 0 / 0.6376 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of Templates: time 0.01159/0.05426, allocations: 5.663 MB / 0.6431 GB, free: 11.12 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.059636432677507] Failed to read output from testmodel.py, exit status != 0: 0.06378473713994026 0.079261837 0.061163220000000004 Calling exit ...