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.0007073/0.0007073, allocations: 84.44 kB / 19.91 MB, free: 4 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.0007534/0.0007534, allocations: 169.6 kB / 23.19 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.8438/0.8438, allocations: 177.2 MB / 203.6 MB, free: 5.758 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.6984/0.6984, allocations: 154.7 MB / 414.7 MB, free: 0.7578 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.0008909/0.0008909, allocations: 67.89 kB / 0.6196 GB, free: 13.14 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.4038/0.4047, allocations: 102 MB / 0.7191 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002152/0.4068, allocations: 2.091 MB / 0.7212 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.003028/0.4099, allocations: 3.931 MB / 0.725 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.849e-05/0.41, allocations: 6.25 kB / 0.725 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005916/0.4105, allocations: 179.1 kB / 0.7252 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.4107, allocations: 78.98 kB / 0.7253 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004664/0.4111, allocations: 339.7 kB / 0.7256 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0004625/0.4116, allocations: 453.4 kB / 0.726 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.4117, allocations: 36.12 kB / 0.726 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.4119, allocations: 196.8 kB / 0.7262 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.412, allocations: 143.6 kB / 0.7264 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.188e-05/0.412, allocations: 20.88 kB / 0.7264 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003908/0.4124, allocations: 336.8 kB / 0.7267 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 9.689e-05/0.4125, allocations: 114.2 kB / 0.7268 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.4126, allocations: 142.6 kB / 0.727 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0005651/0.4132, allocations: 0.6651 MB / 0.7276 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.4132, allocations: 1.594 kB / 0.7276 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4132, allocations: 0 / 0.7276 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.4132, allocations: 0 / 0.7276 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.0008541/0.4141, allocations: 0.7442 MB / 0.7283 GB, free: 17.91 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.4141, allocations: 8.516 kB / 0.7283 GB, free: 17.91 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007044/0.4148, allocations: 244 kB / 0.7286 GB, free: 17.87 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004994/0.4153, allocations: 352.4 kB / 0.7289 GB, free: 17.64 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.4153, allocations: 8.906 kB / 0.7289 GB, free: 17.64 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.4153, allocations: 15.81 kB / 0.7289 GB, free: 17.63 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004193/0.4158, allocations: 245 kB / 0.7292 GB, free: 17.55 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.4158, allocations: 0 / 0.7292 GB, free: 17.55 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.4158, allocations: 9.094 kB / 0.7292 GB, free: 17.55 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.4158, allocations: 6.984 kB / 0.7292 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005654/0.4164, allocations: 340.5 kB / 0.7295 GB, free: 17.46 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000787/0.4171, allocations: 0.5718 MB / 0.7301 GB, free: 17.15 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000331/0.4175, allocations: 217.2 kB / 0.7303 GB, free: 17.08 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000284/0.4178, allocations: 170.6 kB / 0.7304 GB, free: 17.04 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.475e-05/0.4178, allocations: 15.89 kB / 0.7305 GB, free: 17.04 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.463e-05/0.4178, allocations: 40.97 kB / 0.7305 GB, free: 16.99 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.062e-06/0.4178, allocations: 0 / 0.7305 GB, free: 16.99 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.0009935/0.4188, allocations: 0.5637 MB / 0.731 GB, free: 16.83 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.364e-05/0.4188, allocations: 61.48 kB / 0.7311 GB, free: 16.76 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003361/0.4192, allocations: 451.5 kB / 0.7315 GB, free: 16.55 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.4192, allocations: 30.83 kB / 0.7316 GB, free: 16.52 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.583e-05/0.4193, allocations: 194.1 kB / 0.7317 GB, free: 16.36 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/0.4193, allocations: 43.83 kB / 0.7318 GB, free: 16.32 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.14e-05/0.4194, allocations: 54.34 kB / 0.7318 GB, free: 16.29 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.63e-05/0.4194, allocations: 354.8 kB / 0.7322 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003898/0.4198, allocations: 337.4 kB / 0.7325 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003605/0.4202, allocations: 333 kB / 0.7328 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006458/0.4208, allocations: 0.5236 MB / 0.7333 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.4208, allocations: 0 / 0.7333 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008439/0.4217, allocations: 0.7676 MB / 0.7341 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.459e-05/0.4217, allocations: 44.42 kB / 0.7341 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.4217, allocations: 5.75 kB / 0.7341 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.4217, allocations: 1.031 kB / 0.7341 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/0.422, allocations: 68.17 kB / 0.7342 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.422, allocations: 3.984 kB / 0.7342 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.4221, allocations: 50.19 kB / 0.7342 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.4222, allocations: 8.812 kB / 0.7343 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 9.732e-05/0.4222, allocations: 165.4 kB / 0.7344 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.943e-05/0.4223, allocations: 45.75 kB / 0.7345 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007183/0.423, allocations: 448.1 kB / 0.7349 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.423, allocations: 1.594 kB / 0.7349 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.423, allocations: 0 / 0.7349 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.883e-05/0.4231, allocations: 62.47 kB / 0.7349 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.189e-05/0.4231, allocations: 9.344 kB / 0.735 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.4233, allocations: 37.59 kB / 0.735 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.396e-05/0.4234, allocations: 17.11 kB / 0.735 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007447/0.4241, allocations: 496.1 kB / 0.7355 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000649/0.4248, allocations: 0.569 MB / 0.736 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002964/0.4251, allocations: 172.9 kB / 0.7362 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002245/0.4253, allocations: 319.5 kB / 0.7365 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of Backend: time 1.6e-07/0.4253, allocations: 5.156 kB / 0.7365 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0009777/0.4263, allocations: 0.6106 MB / 0.7371 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0008199/0.4271, allocations: 1.113 MB / 0.7382 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of Templates: time 0.009163/0.4362, allocations: 7.211 MB / 0.7452 GB, free: 12.04 MB / 0.6355 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: 3.954541607061401] Failed to read output from testmodel.py, exit status != 0: 0.4415317128878087 0.44872689400000004 0.033893559000000004 Calling exit ...