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.0008313/0.0008313, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0007836/0.0007836, allocations: 177.9 kB / 23.22 MB, free: 1.344 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.8814/0.8814, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.6791/0.6791, allocations: 154.6 MB / 414.5 MB, free: 0.8008 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.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.844e-06/1.844e-06, allocations: 0 / 0.6193 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.655e-05/2.839e-05, allocations: 5.234 kB / 0.6193 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.00253/0.002558, allocations: 1.996 MB / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003821/0.006379, allocations: 3.888 MB / 0.6251 GB, free: 7.184 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001577/0.006537, allocations: 4 kB / 0.6251 GB, free: 7.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0008093/0.007346, allocations: 191 kB / 0.6253 GB, free: 6.992 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.007459, allocations: 71.36 kB / 0.6253 GB, free: 6.922 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006572/0.008116, allocations: 310.1 kB / 0.6256 GB, free: 6.621 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0005121/0.008628, allocations: 402.6 kB / 0.626 GB, free: 6.227 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.008738, allocations: 36.55 kB / 0.6261 GB, free: 6.191 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.008901, allocations: 159.6 kB / 0.6262 GB, free: 6.035 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.009021, allocations: 99.69 kB / 0.6263 GB, free: 5.938 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.603e-05/0.009047, allocations: 16 kB / 0.6263 GB, free: 5.922 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003832/0.00943, allocations: 311.5 kB / 0.6266 GB, free: 5.617 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.47e-05/0.009525, allocations: 107.7 kB / 0.6267 GB, free: 5.512 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 8.395e-05/0.009608, allocations: 99.7 kB / 0.6268 GB, free: 5.414 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0005291/0.01014, allocations: 0.5724 MB / 0.6274 GB, free: 4.84 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.01014, allocations: 0 / 0.6274 GB, free: 4.84 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.603e-06/0.01014, allocations: 0 / 0.6274 GB, free: 4.84 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.01015, allocations: 0 / 0.6274 GB, free: 4.84 MB / 0.5886 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.0008983/0.01105, allocations: 0.6964 MB / 0.628 GB, free: 4.105 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.01108, allocations: 8.031 kB / 0.6281 GB, free: 4.098 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002566/0.01134, allocations: 80.64 kB / 0.6281 GB, free: 4.02 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004429/0.01178, allocations: 299.9 kB / 0.6284 GB, free: 3.703 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.0118, allocations: 4.375 kB / 0.6284 GB, free: 3.699 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.01181, allocations: 8.375 kB / 0.6284 GB, free: 3.691 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003151/0.01213, allocations: 198 kB / 0.6286 GB, free: 3.492 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.01214, allocations: 4.172 kB / 0.6286 GB, free: 3.488 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.01215, allocations: 8.125 kB / 0.6286 GB, free: 3.48 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.01216, allocations: 0 / 0.6286 GB, free: 3.48 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003739/0.01253, allocations: 253.8 kB / 0.6289 GB, free: 3.234 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006275/0.01316, allocations: 0.4999 MB / 0.6294 GB, free: 2.703 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002439/0.0134, allocations: 166.5 kB / 0.6295 GB, free: 2.531 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.01359, allocations: 132.8 kB / 0.6296 GB, free: 2.398 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.78e-05/0.01364, allocations: 19.98 kB / 0.6297 GB, free: 2.379 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.01366, allocations: 34.5 kB / 0.6297 GB, free: 2.336 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.01366, allocations: 0 / 0.6297 GB, free: 2.336 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.000719/0.01438, allocations: 445.5 kB / 0.6301 GB, free: 1.895 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.01441, allocations: 51.41 kB / 0.6302 GB, free: 1.832 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002908/0.0147, allocations: 425.9 kB / 0.6306 GB, free: 1.41 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.01472, allocations: 29.7 kB / 0.6306 GB, free: 1.375 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.505e-05/0.01482, allocations: 180 kB / 0.6308 GB, free: 1.195 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/0.01485, allocations: 43.67 kB / 0.6308 GB, free: 1.152 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-05/0.01491, allocations: 33.7 kB / 0.6309 GB, free: 1.113 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.01501, allocations: 358.7 kB / 0.6312 GB, free: 0.7539 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002404/0.01525, allocations: 209.6 kB / 0.6314 GB, free: 0.543 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002182/0.01546, allocations: 217.2 kB / 0.6316 GB, free: 336 kB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004289/0.01589, allocations: 361.1 kB / 0.6319 GB, free: 15.97 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.0159, allocations: 0 / 0.6319 GB, free: 15.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005388/0.01643, allocations: 0.5122 MB / 0.6324 GB, free: 15.44 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.379e-05/0.01648, allocations: 41.69 kB / 0.6325 GB, free: 15.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.01648, allocations: 0 / 0.6325 GB, free: 15.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.0165, allocations: 7.938 kB / 0.6325 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.01666, allocations: 47.94 kB / 0.6325 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.01666, allocations: 0 / 0.6325 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.01678, allocations: 39.8 kB / 0.6326 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.01679, allocations: 11.98 kB / 0.6326 GB, free: 15.29 MB / 0.6042 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.0001187/0.01691, allocations: 158.7 kB / 0.6327 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.731e-05/0.01695, allocations: 35.77 kB / 0.6328 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005204/0.01747, allocations: 344.8 kB / 0.6331 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.01747, allocations: 0 / 0.6331 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.01748, allocations: 0 / 0.6331 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.01748, allocations: 0 / 0.6331 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.0177, allocations: 261.1 kB / 0.6334 GB, free: 14.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.0177, allocations: 0 / 0.6334 GB, free: 14.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.01783, allocations: 55.81 kB / 0.6334 GB, free: 14.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.01783, allocations: 4 kB / 0.6334 GB, free: 14.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.01785, allocations: 3.984 kB / 0.6334 GB, free: 14.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.01785, allocations: 0 / 0.6334 GB, free: 14.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01785, allocations: 0 / 0.6334 GB, free: 14.4 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000464/0.01832, allocations: 419 kB / 0.6338 GB, free: 13.97 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.427e-05/0.01839, allocations: 55.66 kB / 0.6339 GB, free: 13.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.01842, allocations: 8 kB / 0.6339 GB, free: 13.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.01853, allocations: 19.97 kB / 0.6339 GB, free: 13.89 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.036e-05/0.01859, allocations: 15.97 kB / 0.6339 GB, free: 13.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.0186, allocations: 4 kB / 0.6339 GB, free: 13.87 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002007/0.0188, allocations: 307 kB / 0.6342 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.0188, allocations: 0 / 0.6342 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003512/0.01915, allocations: 123.8 kB / 0.6343 GB, free: 13.45 MB / 0.6042 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.0002896/0.01944, allocations: 186.9 kB / 0.6345 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005706/0.02001, allocations: 460.8 kB / 0.6349 GB, free: 12.79 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.02001, allocations: 0 / 0.6349 GB, free: 12.79 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.02021, allocations: 135.8 kB / 0.6351 GB, free: 12.65 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.02054, allocations: 73.48 kB / 0.6351 GB, free: 12.58 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008109/0.02136, allocations: 0.6509 MB / 0.6358 GB, free: 11.89 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.02148, allocations: 187 kB / 0.636 GB, free: 11.69 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.827e-05/0.02155, allocations: 32.47 kB / 0.636 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of SimCode: time 7.31e-07/0.02155, allocations: 0 / 0.636 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of Templates: time 0.005603/0.02716, allocations: 5.084 MB / 0.6409 GB, free: 6.617 MB / 0.6042 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.584929122589529] Failed to read output from testmodel.py, exit status != 0: 0.03364877123385668 0.042306115000000005 0.030440036 Calling exit ...