Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005912/0.005912, allocations: 109.1 kB / 15.74 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 190.3 kB / 16.67 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.259/1.259, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002172/0.002172, allocations: 296.2 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9157/0.9157, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 103.8 kB / 0.6814 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.502/0.5037, allocations: 86.97 MB / 0.7664 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006045/0.5098, allocations: 4.284 MB / 0.7706 GB, free: 15.6 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1772/0.6871, allocations: 150.5 MB / 0.9176 GB, free: 8.477 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009604/0.688, allocations: 19.88 kB / 0.9176 GB, free: 8.457 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.000584/0.6886, allocations: 170.4 kB / 0.9177 GB, free: 8.289 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001851/0.6906, allocations: 0.4963 MB / 0.9182 GB, free: 7.793 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002191/0.6928, allocations: 0.8199 MB / 0.919 GB, free: 6.98 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001443/0.6942, allocations: 1.289 MB / 0.9203 GB, free: 5.684 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008188/0.695, allocations: 0.6163 MB / 0.9209 GB, free: 5.047 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005911/0.6956, allocations: 462.4 kB / 0.9213 GB, free: 4.594 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005219/0.6962, allocations: 489.8 kB / 0.9218 GB, free: 4.113 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001561/0.6963, allocations: 112 kB / 0.9219 GB, free: 4.004 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009298/0.6973, allocations: 491.5 kB / 0.9224 GB, free: 3.523 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002834/0.6976, allocations: 283.1 kB / 0.9226 GB, free: 3.246 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.000491/0.6981, allocations: 0.5363 MB / 0.9232 GB, free: 2.707 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00179/0.6999, allocations: 1.583 MB / 0.9247 GB, free: 1.121 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.6999, allocations: 0 / 0.9247 GB, free: 1.121 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6999, allocations: 0 / 0.9247 GB, free: 1.121 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.414e-05/0.6999, allocations: 0 / 0.9247 GB, free: 1.121 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002328/0.7022, allocations: 1.403 MB / 0.9261 GB, free: 15.67 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.7023, allocations: 12.03 kB / 0.9261 GB, free: 15.66 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008653/0.7032, allocations: 171.5 kB / 0.9263 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/0.7043, allocations: 0.7694 MB / 0.927 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.957e-05/0.7044, allocations: 65.94 kB / 0.9271 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.7045, allocations: 83.98 kB / 0.9271 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.706, allocations: 0.8989 MB / 0.928 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.706, allocations: 0 / 0.928 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-05/0.7061, allocations: 36 kB / 0.9281 GB, free: 13.56 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/0.7061, allocations: 20 kB / 0.9281 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001643/0.7078, allocations: 1.093 MB / 0.9291 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004009/0.7118, allocations: 2.429 MB / 0.9315 GB, free: 9.938 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/0.7135, allocations: 0.8734 MB / 0.9324 GB, free: 9.043 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005341/0.714, allocations: 298.7 kB / 0.9327 GB, free: 8.75 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.842e-05/0.7141, allocations: 32.61 kB / 0.9327 GB, free: 8.719 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008831/0.715, allocations: 491 kB / 0.9332 GB, free: 8.219 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=79): time 2.414e-06/0.715, allocations: 0 / 0.9332 GB, free: 8.219 MB / 0.7012 GB Notification: Performance of matching and sorting (n=79): time 0.003218/0.7182, allocations: 1.17 MB / 0.9343 GB, free: 7.02 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/0.7184, allocations: 188.6 kB / 0.9345 GB, free: 6.793 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000851/0.7192, allocations: 0.6291 MB / 0.9351 GB, free: 6.16 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.446e-05/0.7193, allocations: 49.64 kB / 0.9351 GB, free: 6.105 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003097/0.7196, allocations: 380.5 kB / 0.9355 GB, free: 5.727 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002289/0.7199, allocations: 264.3 kB / 0.9358 GB, free: 5.465 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002322/0.7201, allocations: 154.5 kB / 0.9359 GB, free: 5.309 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.7203, allocations: 394.6 kB / 0.9363 GB, free: 4.914 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005021/0.7208, allocations: 261.9 kB / 0.9365 GB, free: 4.66 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006913/0.7215, allocations: 355.1 kB / 0.9369 GB, free: 4.297 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.7225, allocations: 0.5955 MB / 0.9374 GB, free: 3.691 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.7226, allocations: 0 / 0.9374 GB, free: 3.691 MB / 0.7012 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001876/0.7244, allocations: 0.8371 MB / 0.9383 GB, free: 2.844 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.7245, allocations: 4 kB / 0.9383 GB, free: 2.84 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.7245, allocations: 3.938 kB / 0.9383 GB, free: 2.836 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005771/0.7251, allocations: 80.88 kB / 0.9383 GB, free: 2.754 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006102/0.7257, allocations: 159.8 kB / 0.9385 GB, free: 2.598 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002048/0.7277, allocations: 1.626 MB / 0.9401 GB, free: 0.8281 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007607/0.7285, allocations: 95.41 kB / 0.9402 GB, free: 0.7344 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-05/0.7286, allocations: 39.97 kB / 0.9402 GB, free: 0.6953 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005081/0.7291, allocations: 267.4 kB / 0.9405 GB, free: 436 kB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001673/0.7293, allocations: 82.97 kB / 0.9406 GB, free: 352 kB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002283/0.7316, allocations: 1.046 MB / 0.9416 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.7316, allocations: 11.98 kB / 0.9416 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.7316, allocations: 0 / 0.9416 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.027e-05/0.7316, allocations: 7.922 kB / 0.9416 GB, free: 15.26 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003154/0.7348, allocations: 1.904 MB / 0.9435 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.7348, allocations: 0 / 0.9435 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005378/0.7354, allocations: 139.8 kB / 0.9436 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004413/0.7358, allocations: 72.78 kB / 0.9437 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.188e-05/0.7359, allocations: 27.97 kB / 0.9437 GB, free: 13.06 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001884/0.7378, allocations: 1.662 MB / 0.9453 GB, free: 11.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.7378, allocations: 0 / 0.9453 GB, free: 11.25 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001951/0.7397, allocations: 0.9823 MB / 0.9463 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003945/0.7401, allocations: 263.7 kB / 0.9465 GB, free: 9.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.7403, allocations: 23.98 kB / 0.9465 GB, free: 9.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006224/0.7409, allocations: 62.44 kB / 0.9466 GB, free: 9.891 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/0.7411, allocations: 76.89 kB / 0.9467 GB, free: 9.816 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.286e-05/0.7411, allocations: 27.98 kB / 0.9467 GB, free: 9.789 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005654/0.7417, allocations: 455 kB / 0.9471 GB, free: 9.348 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7417, allocations: 0 / 0.9471 GB, free: 9.348 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008261/0.7425, allocations: 303.3 kB / 0.9474 GB, free: 9.051 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001327/0.7439, allocations: 0.6111 MB / 0.948 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001674/0.7456, allocations: 0.8158 MB / 0.9488 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.7456, allocations: 3.938 kB / 0.9488 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008895/0.7465, allocations: 0.5081 MB / 0.9493 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/0.7477, allocations: 307 kB / 0.9496 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003726/0.7514, allocations: 1.706 MB / 0.9513 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006091/0.7521, allocations: 1.023 MB / 0.9523 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008446/0.7529, allocations: 254.5 kB / 0.9525 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002494/0.7532, allocations: 103.4 kB / 0.9526 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of SimCode: time 8.82e-07/0.7532, allocations: 4 kB / 0.9526 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of Templates: time 0.3634/1.117, allocations: 14.97 MB / 0.9672 GB, free: 184.6 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)