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.001105/0.001105, 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.0009144/0.0009144, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.9329/0.9329, allocations: 177.2 MB / 203.6 MB, free: 5.766 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.7103/0.7103, allocations: 154.7 MB / 414.7 MB, free: 0.75 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.00144/0.00144, allocations: 64.41 kB / 0.6195 GB, free: 13.17 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.5041/0.5055, allocations: 102 MB / 0.7191 GB, free: 23.6 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002742/0.5083, allocations: 2.092 MB / 0.7212 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.003911/0.5122, allocations: 3.929 MB / 0.725 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.5123, allocations: 5.969 kB / 0.725 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0009191/0.5132, allocations: 171.1 kB / 0.7252 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001531/0.5134, allocations: 83.94 kB / 0.7252 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008194/0.5142, allocations: 335.3 kB / 0.7256 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0006015/0.5148, allocations: 457.2 kB / 0.726 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.5149, allocations: 40.16 kB / 0.726 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002063/0.5151, allocations: 196.4 kB / 0.7262 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.5153, allocations: 143.4 kB / 0.7264 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.452e-05/0.5153, allocations: 20.31 kB / 0.7264 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004461/0.5158, allocations: 329.1 kB / 0.7267 GB, free: 18.81 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.5159, allocations: 118.2 kB / 0.7268 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.516, allocations: 139.8 kB / 0.7269 GB, free: 18.69 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0006038/0.5166, allocations: 0.5914 MB / 0.7275 GB, free: 18.47 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.5166, allocations: 0 / 0.7275 GB, free: 18.47 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.164e-06/0.5166, allocations: 0.9375 kB / 0.7275 GB, free: 18.47 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.5166, allocations: 4.703 kB / 0.7275 GB, free: 18.46 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.0009098/0.5175, allocations: 0.7394 MB / 0.7282 GB, free: 17.93 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.5176, allocations: 13.95 kB / 0.7283 GB, free: 17.92 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000778/0.5184, allocations: 240.4 kB / 0.7285 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005798/0.5189, allocations: 347.8 kB / 0.7288 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.519, allocations: 14.11 kB / 0.7288 GB, free: 17.65 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.519, allocations: 18.55 kB / 0.7288 GB, free: 17.64 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004674/0.5195, allocations: 250.2 kB / 0.7291 GB, free: 17.56 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.5195, allocations: 0 / 0.7291 GB, free: 17.56 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.5195, allocations: 1.469 kB / 0.7291 GB, free: 17.56 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.5195, allocations: 1.438 kB / 0.7291 GB, free: 17.56 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006656/0.5202, allocations: 337.9 kB / 0.7294 GB, free: 17.48 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008533/0.521, allocations: 0.5794 MB / 0.73 GB, free: 17.16 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003725/0.5214, allocations: 205.3 kB / 0.7302 GB, free: 17.1 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003252/0.5217, allocations: 186.2 kB / 0.7303 GB, free: 17.05 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.445e-05/0.5218, allocations: 21.31 kB / 0.7304 GB, free: 17.04 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.549e-05/0.5218, allocations: 36.09 kB / 0.7304 GB, free: 17 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.5218, allocations: 0 / 0.7304 GB, free: 17 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.00108/0.5229, allocations: 0.5673 MB / 0.731 GB, free: 16.83 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.5229, allocations: 53.3 kB / 0.731 GB, free: 16.77 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003683/0.5233, allocations: 452.7 kB / 0.7314 GB, free: 16.56 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.5233, allocations: 25.7 kB / 0.7315 GB, free: 16.53 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.467e-05/0.5234, allocations: 194.4 kB / 0.7316 GB, free: 16.37 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.5234, allocations: 52.23 kB / 0.7317 GB, free: 16.33 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.791e-05/0.5235, allocations: 50.48 kB / 0.7317 GB, free: 16.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.961e-05/0.5236, allocations: 354.7 kB / 0.7321 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004452/0.524, allocations: 333.9 kB / 0.7324 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004176/0.5244, allocations: 337.1 kB / 0.7327 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008292/0.5252, allocations: 0.5229 MB / 0.7332 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.5252, allocations: 0 / 0.7332 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.00107/0.5263, allocations: 0.7712 MB / 0.734 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.775e-05/0.5264, allocations: 46.59 kB / 0.734 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.5264, allocations: 0 / 0.734 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.5264, allocations: 0 / 0.734 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002614/0.5266, allocations: 68.7 kB / 0.7341 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.5267, allocations: 5.172 kB / 0.7341 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.5268, allocations: 57.77 kB / 0.7342 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.353e-05/0.5269, allocations: 9.047 kB / 0.7342 GB, free: 15.25 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.0001231/0.527, allocations: 160.5 kB / 0.7343 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.075e-05/0.527, allocations: 39.47 kB / 0.7344 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000783/0.5278, allocations: 449.4 kB / 0.7348 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.5278, allocations: 2.219 kB / 0.7348 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.5278, allocations: 0 / 0.7348 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.5278, allocations: 2.156 kB / 0.7348 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002641/0.5281, allocations: 283.7 kB / 0.7351 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.5281, allocations: 1.375 kB / 0.7351 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001944/0.5283, allocations: 61.36 kB / 0.7351 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.5283, allocations: 5.734 kB / 0.7351 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.5283, allocations: 7.297 kB / 0.7351 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.5283, allocations: 1.641 kB / 0.7351 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.5283, allocations: 0 / 0.7351 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007049/0.529, allocations: 0.5069 MB / 0.7356 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.349e-05/0.5291, allocations: 57.42 kB / 0.7357 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.994e-05/0.5291, allocations: 5.953 kB / 0.7357 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.5293, allocations: 37.34 kB / 0.7357 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.694e-05/0.5294, allocations: 17.58 kB / 0.7357 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.5294, allocations: 12.81 kB / 0.7358 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002545/0.5296, allocations: 313.4 kB / 0.7361 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.5296, allocations: 0 / 0.7361 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003905/0.53, allocations: 125.7 kB / 0.7362 GB, free: 14.31 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.0002588/0.5303, allocations: 173.2 kB / 0.7363 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000939/0.5312, allocations: 0.6322 MB / 0.737 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.5312, allocations: 0 / 0.737 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000337/0.5316, allocations: 187.2 kB / 0.7371 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.5319, allocations: 60.73 kB / 0.7372 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009247/0.5328, allocations: 0.7162 MB / 0.7379 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001667/0.533, allocations: 195.4 kB / 0.7381 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000153/0.5331, allocations: 57.09 kB / 0.7381 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.267e-05/0.5332, allocations: 32.55 kB / 0.7382 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of SimCode: time 4.11e-07/0.5332, allocations: 0 / 0.7382 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of Templates: time 0.00892/0.5421, allocations: 5.679 MB / 0.7437 GB, free: 12.84 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 gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.445697620976716] Failed to read output from testmodel.py, exit status != 0: 0.5493570299586281 0.5572263089999999 0.038746492 Calling exit ...