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.0008512/0.0008512, allocations: 80.45 kB / 19.9 MB, free: 12 kB / 13.93 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.001131/0.001131, allocations: 169.9 kB / 23.18 MB, free: 1.375 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.945/0.945, allocations: 177.2 MB / 203.6 MB, free: 5.781 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.7571/0.7571, allocations: 154.7 MB / 414.7 MB, free: 0.7734 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.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001055/0.001055, allocations: 79.89 kB / 0.6196 GB, free: 13.11 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.498/0.4991, allocations: 101.9 MB / 0.7191 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002664/0.5017, allocations: 2.087 MB / 0.7211 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.003924/0.5056, allocations: 3.931 MB / 0.725 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001681/0.5058, allocations: 6.406 kB / 0.725 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0007863/0.5066, allocations: 171.5 kB / 0.7252 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001641/0.5068, allocations: 87.41 kB / 0.7252 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008259/0.5076, allocations: 334.8 kB / 0.7256 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0006439/0.5082, allocations: 460.7 kB / 0.726 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.5083, allocations: 31.02 kB / 0.726 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002338/0.5086, allocations: 196.8 kB / 0.7262 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/0.5087, allocations: 152.1 kB / 0.7264 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.216e-05/0.5088, allocations: 19.84 kB / 0.7264 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005807/0.5094, allocations: 324.9 kB / 0.7267 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.5095, allocations: 122.8 kB / 0.7268 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.5096, allocations: 135.1 kB / 0.7269 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0007136/0.5103, allocations: 0.5912 MB / 0.7275 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.5103, allocations: 0.6562 kB / 0.7275 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.793e-06/0.5103, allocations: 1.156 kB / 0.7275 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.092e-05/0.5103, allocations: 0 / 0.7275 GB, free: 18.54 MB / 0.6355 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.00105/0.5114, allocations: 0.7484 MB / 0.7282 GB, free: 17.99 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.5114, allocations: 9.219 kB / 0.7283 GB, free: 17.99 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007992/0.5122, allocations: 239.5 kB / 0.7285 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006241/0.5128, allocations: 352.1 kB / 0.7288 GB, free: 17.72 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.5128, allocations: 9.516 kB / 0.7288 GB, free: 17.72 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.5129, allocations: 11.84 kB / 0.7288 GB, free: 17.71 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004479/0.5133, allocations: 249.2 kB / 0.7291 GB, free: 17.64 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.5133, allocations: 0 / 0.7291 GB, free: 17.64 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.5133, allocations: 9.375 kB / 0.7291 GB, free: 17.63 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.5134, allocations: 2.156 kB / 0.7291 GB, free: 17.63 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006067/0.514, allocations: 339.2 kB / 0.7294 GB, free: 17.55 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009459/0.5149, allocations: 0.579 MB / 0.73 GB, free: 17.23 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003657/0.5153, allocations: 213.2 kB / 0.7302 GB, free: 17.16 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003013/0.5156, allocations: 179.1 kB / 0.7304 GB, free: 17.11 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.466e-05/0.5156, allocations: 16.41 kB / 0.7304 GB, free: 17.11 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.5156, allocations: 36.25 kB / 0.7304 GB, free: 17.07 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 2.094e-06/0.5156, allocations: 0 / 0.7304 GB, free: 17.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.001071/0.5167, allocations: 0.5667 MB / 0.731 GB, free: 16.91 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.5167, allocations: 53.97 kB / 0.731 GB, free: 16.84 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000413/0.5172, allocations: 451.6 kB / 0.7314 GB, free: 16.64 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.5172, allocations: 31.02 kB / 0.7315 GB, free: 16.6 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.5173, allocations: 193.8 kB / 0.7317 GB, free: 16.44 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.588e-05/0.5173, allocations: 43.78 kB / 0.7317 GB, free: 16.41 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.343e-05/0.5174, allocations: 54.56 kB / 0.7317 GB, free: 16.38 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.102e-05/0.5175, allocations: 355.6 kB / 0.7321 GB, free: 16.04 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000462/0.5179, allocations: 337.8 kB / 0.7324 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004186/0.5184, allocations: 339.2 kB / 0.7327 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006903/0.519, allocations: 0.5203 MB / 0.7332 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5191, allocations: 0 / 0.7332 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009754/0.52, allocations: 0.7675 MB / 0.734 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.104e-05/0.5201, allocations: 50.34 kB / 0.734 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.5201, allocations: 0 / 0.734 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.5201, allocations: 4 kB / 0.734 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002823/0.5204, allocations: 68.77 kB / 0.7341 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.5204, allocations: 5.016 kB / 0.7341 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002659/0.5207, allocations: 50.25 kB / 0.7342 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.5207, allocations: 12.58 kB / 0.7342 GB, free: 15.32 MB / 0.6355 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.0001597/0.5208, allocations: 159.5 kB / 0.7343 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.798e-05/0.5209, allocations: 41.42 kB / 0.7344 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007674/0.5217, allocations: 440.3 kB / 0.7348 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.5217, allocations: 9.859 kB / 0.7348 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.5217, allocations: 1.188 kB / 0.7348 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.5217, allocations: 0.7031 kB / 0.7348 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002978/0.522, allocations: 288.2 kB / 0.7351 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.522, allocations: 2.031 kB / 0.7351 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002053/0.5222, allocations: 56.78 kB / 0.7351 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.5222, allocations: 1.375 kB / 0.7351 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.5222, allocations: 8.703 kB / 0.7351 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.5222, allocations: 1.375 kB / 0.7351 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.5222, allocations: 0 / 0.7351 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000731/0.5229, allocations: 0.5095 MB / 0.7356 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.523, allocations: 62.83 kB / 0.7357 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.161e-05/0.5231, allocations: 2.375 kB / 0.7357 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.5233, allocations: 40.27 kB / 0.7357 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.066e-05/0.5233, allocations: 16.66 kB / 0.7357 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.5234, allocations: 7.094 kB / 0.7358 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002886/0.5236, allocations: 311 kB / 0.7361 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.5236, allocations: 0 / 0.7361 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005381/0.5242, allocations: 131.2 kB / 0.7362 GB, free: 14.38 MB / 0.6355 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.0002865/0.5245, allocations: 177.4 kB / 0.7363 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0009192/0.5254, allocations: 0.6268 MB / 0.737 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5254, allocations: 0 / 0.737 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003271/0.5257, allocations: 184.8 kB / 0.7371 GB, free: 14 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.5261, allocations: 62.55 kB / 0.7372 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009751/0.5271, allocations: 0.7198 MB / 0.7379 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/0.5272, allocations: 195.1 kB / 0.7381 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001811/0.5274, allocations: 53.84 kB / 0.7381 GB, free: 13.49 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.411e-05/0.5275, allocations: 39.09 kB / 0.7382 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of SimCode: time 1.021e-06/0.5275, allocations: 1.031 kB / 0.7382 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of Templates: time 0.009336/0.5368, allocations: 5.677 MB / 0.7437 GB, free: 12.91 MB / 0.6355 GB " [Timeout remaining time 659] 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.355359985027462] Failed to read output from testmodel.py, exit status != 0: 0.5425288280239329 0.5552166620000001 0.042413606 Calling exit ...