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.001437/0.001437, allocations: 78.56 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.001721/0.001721, allocations: 165.1 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.41/1.41, allocations: 177.2 MB / 202.8 MB, free: 9.164 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.166/1.166, allocations: 154.7 MB / 413.9 MB, free: 5.141 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.613e-06/1.613e-06, allocations: 0 / 0.6188 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.99e-05/3.151e-05, allocations: 2.781 kB / 0.6188 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003502/0.003533, allocations: 2.087 MB / 0.6208 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005561/0.009094, allocations: 3.937 MB / 0.6246 GB, free: 14.51 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001439/0.009238, allocations: 7.938 kB / 0.6246 GB, free: 14.5 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008619/0.0101, allocations: 171.1 kB / 0.6248 GB, free: 14.34 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001858/0.01029, allocations: 91.2 kB / 0.6249 GB, free: 14.25 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000833/0.01112, allocations: 345.8 kB / 0.6252 GB, free: 13.91 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007076/0.01183, allocations: 446.6 kB / 0.6257 GB, free: 13.47 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.01194, allocations: 36.84 kB / 0.6257 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00025/0.01219, allocations: 183.6 kB / 0.6259 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.01239, allocations: 131.6 kB / 0.626 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.454e-05/0.01243, allocations: 24 kB / 0.626 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005382/0.01297, allocations: 323.5 kB / 0.6263 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.0131, allocations: 119.5 kB / 0.6264 GB, free: 12.67 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00016/0.01326, allocations: 103.7 kB / 0.6265 GB, free: 12.57 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007855/0.01405, allocations: 0.6425 MB / 0.6272 GB, free: 11.92 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.01405, allocations: 0 / 0.6272 GB, free: 11.92 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.162e-06/0.01405, allocations: 0 / 0.6272 GB, free: 11.92 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.01406, allocations: 4 kB / 0.6272 GB, free: 11.92 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.001476/0.01553, allocations: 0.7431 MB / 0.6279 GB, free: 11.14 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.01557, allocations: 12.03 kB / 0.6279 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001352/0.01693, allocations: 232.4 kB / 0.6281 GB, free: 10.9 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009761/0.0179, allocations: 355.9 kB / 0.6285 GB, free: 10.53 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.01792, allocations: 8.562 kB / 0.6285 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.079e-05/0.01795, allocations: 12.38 kB / 0.6285 GB, free: 10.51 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007317/0.01868, allocations: 252.2 kB / 0.6287 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.01869, allocations: 0 / 0.6287 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/0.01871, allocations: 0 / 0.6287 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.01872, allocations: 4 kB / 0.6287 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.01978, allocations: 331.7 kB / 0.629 GB, free: 9.934 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001476/0.02125, allocations: 0.5859 MB / 0.6296 GB, free: 9.316 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005996/0.02185, allocations: 210.4 kB / 0.6298 GB, free: 9.102 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005197/0.02237, allocations: 180.6 kB / 0.63 GB, free: 8.922 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.545e-05/0.02244, allocations: 23.98 kB / 0.63 GB, free: 8.898 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.02247, allocations: 34.56 kB / 0.63 GB, free: 8.855 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.392e-06/0.02247, allocations: 0 / 0.63 GB, free: 8.855 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.001777/0.02425, allocations: 0.5637 MB / 0.6306 GB, free: 8.285 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/0.0243, allocations: 51.41 kB / 0.6306 GB, free: 8.223 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005071/0.02481, allocations: 445.8 kB / 0.6311 GB, free: 7.785 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/0.02484, allocations: 29.7 kB / 0.6311 GB, free: 7.75 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.02501, allocations: 204.4 kB / 0.6313 GB, free: 7.547 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.677e-05/0.02506, allocations: 51.64 kB / 0.6313 GB, free: 7.496 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.02517, allocations: 49.69 kB / 0.6314 GB, free: 7.441 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001915/0.02536, allocations: 346.8 kB / 0.6317 GB, free: 7.094 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006916/0.02606, allocations: 337.7 kB / 0.632 GB, free: 6.758 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006864/0.02674, allocations: 342 kB / 0.6324 GB, free: 6.418 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/0.02798, allocations: 0.5163 MB / 0.6329 GB, free: 5.895 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.02798, allocations: 0 / 0.6329 GB, free: 5.895 MB / 0.545 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001517/0.0295, allocations: 0.7635 MB / 0.6336 GB, free: 5.113 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.293e-05/0.02955, allocations: 45.69 kB / 0.6337 GB, free: 5.062 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.02956, allocations: 0 / 0.6337 GB, free: 5.062 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.02957, allocations: 4 kB / 0.6337 GB, free: 5.059 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004626/0.03004, allocations: 63.86 kB / 0.6337 GB, free: 4.996 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.03005, allocations: 4 kB / 0.6337 GB, free: 4.992 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003538/0.0304, allocations: 55.83 kB / 0.6338 GB, free: 4.938 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.803e-05/0.03043, allocations: 7.984 kB / 0.6338 GB, free: 4.93 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.0001985/0.03063, allocations: 158.7 kB / 0.6339 GB, free: 4.766 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.554e-05/0.0307, allocations: 43.72 kB / 0.634 GB, free: 4.723 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001296/0.032, allocations: 448.8 kB / 0.6344 GB, free: 4.27 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.032, allocations: 4 kB / 0.6344 GB, free: 4.266 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.03201, allocations: 0 / 0.6344 GB, free: 4.266 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.03201, allocations: 3.984 kB / 0.6344 GB, free: 4.262 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003872/0.0324, allocations: 281 kB / 0.6347 GB, free: 3.957 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.0324, allocations: 0 / 0.6347 GB, free: 3.957 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000398/0.0328, allocations: 63.92 kB / 0.6347 GB, free: 3.895 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.0328, allocations: 3.938 kB / 0.6347 GB, free: 3.891 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.03282, allocations: 7.969 kB / 0.6348 GB, free: 3.883 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.03283, allocations: 4 kB / 0.6348 GB, free: 3.879 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.03283, allocations: 0 / 0.6348 GB, free: 3.879 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.03403, allocations: 0.506 MB / 0.6353 GB, free: 3.359 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.03416, allocations: 63.67 kB / 0.6353 GB, free: 3.297 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.561e-05/0.03421, allocations: 8 kB / 0.6353 GB, free: 3.289 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003453/0.03455, allocations: 35.95 kB / 0.6354 GB, free: 3.254 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.168e-05/0.03462, allocations: 15.97 kB / 0.6354 GB, free: 3.238 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.03464, allocations: 7.984 kB / 0.6354 GB, free: 3.23 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003824/0.03503, allocations: 311.1 kB / 0.6357 GB, free: 2.926 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.03503, allocations: 0 / 0.6357 GB, free: 2.926 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004802/0.03551, allocations: 131.8 kB / 0.6358 GB, free: 2.797 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.0003551/0.03586, allocations: 183 kB / 0.636 GB, free: 2.609 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001434/0.0373, allocations: 0.6294 MB / 0.6366 GB, free: 1.961 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.0373, allocations: 4 kB / 0.6366 GB, free: 1.957 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005523/0.03785, allocations: 183.8 kB / 0.6368 GB, free: 1.777 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004556/0.03831, allocations: 63.84 kB / 0.6368 GB, free: 1.719 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.03968, allocations: 0.675 MB / 0.6375 GB, free: 1.016 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002053/0.03988, allocations: 195.5 kB / 0.6377 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002463/0.04013, allocations: 57.91 kB / 0.6377 GB, free: 0.75 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.04024, allocations: 28.48 kB / 0.6378 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of SimCode: time 5.21e-07/0.04024, allocations: 4 kB / 0.6378 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of Templates: time 0.01116/0.0514, allocations: 5.689 MB / 0.6433 GB, free: 11.14 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: 5.7313688192516565] Failed to read output from testmodel.py, exit status != 0: 0.06006760336458683 0.073480644 0.056450320000000005 Calling exit ...