Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.WallSolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004541/0.004541, allocations: 102 kB / 15.73 MB, free: 6.051 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.001008/0.001008, allocations: 195 kB / 16.68 MB, free: 5.969 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: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002032/0.002032, allocations: 275 kB / 290.8 MB, free: 1.785 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9385/0.9385, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 95.86 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1716, allocations: 86.97 MB / 0.7664 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.006594/0.1782, allocations: 4.611 MB / 0.7709 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.6356/0.8138, allocations: 150.7 MB / 0.918 GB, free: 7.258 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001148/0.815, allocations: 15.94 kB / 0.9181 GB, free: 7.242 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0006558/0.8157, allocations: 182.3 kB / 0.9182 GB, free: 7.062 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001948/0.8177, allocations: 0.548 MB / 0.9188 GB, free: 6.531 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002231/0.82, allocations: 0.8758 MB / 0.9196 GB, free: 5.688 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001483/0.8215, allocations: 1.437 MB / 0.921 GB, free: 4.242 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009662/0.8225, allocations: 0.7197 MB / 0.9217 GB, free: 3.504 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007061/0.8232, allocations: 0.545 MB / 0.9223 GB, free: 2.957 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006527/0.8238, allocations: 0.5756 MB / 0.9228 GB, free: 2.379 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001702/0.824, allocations: 136 kB / 0.923 GB, free: 2.246 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001078/0.8251, allocations: 0.5191 MB / 0.9235 GB, free: 1.727 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002886/0.8254, allocations: 338.9 kB / 0.9238 GB, free: 1.395 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0005034/0.8259, allocations: 0.6224 MB / 0.9244 GB, free: 0.7695 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001995/0.8279, allocations: 1.814 MB / 0.9262 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.8279, allocations: 0 / 0.9262 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of FrontEnd: time 4.238e-06/0.8279, allocations: 4 kB / 0.9262 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.372e-05/0.828, allocations: 0 / 0.9262 GB, free: 14.95 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: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.002669/0.8306, allocations: 1.562 MB / 0.9277 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.8307, allocations: 8.031 kB / 0.9277 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000917/0.8316, allocations: 207 kB / 0.9279 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.8327, allocations: 0.8133 MB / 0.9287 GB, free: 12.28 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.094e-05/0.8328, allocations: 78.7 kB / 0.9288 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/0.8329, allocations: 99.98 kB / 0.9289 GB, free: 12.1 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001719/0.8346, allocations: 1.067 MB / 0.9299 GB, free: 10.97 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.8347, allocations: 0 / 0.9299 GB, free: 10.97 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.878e-05/0.8348, allocations: 40 kB / 0.9299 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.279e-05/0.8348, allocations: 28 kB / 0.93 GB, free: 10.9 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001751/0.8366, allocations: 1.225 MB / 0.9312 GB, free: 9.672 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00415/0.8407, allocations: 2.89 MB / 0.934 GB, free: 6.711 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/0.8422, allocations: 0.8885 MB / 0.9349 GB, free: 5.82 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005726/0.8428, allocations: 349.8 kB / 0.9352 GB, free: 5.477 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.932e-05/0.8429, allocations: 37.02 kB / 0.9352 GB, free: 5.441 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00088/0.8438, allocations: 0.5512 MB / 0.9358 GB, free: 4.871 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=92): time 2.124e-06/0.8438, allocations: 0 / 0.9358 GB, free: 4.871 MB / 0.6856 GB Notification: Performance of matching and sorting (n=92): time 0.003216/0.847, allocations: 1.325 MB / 0.9371 GB, free: 3.523 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/0.8472, allocations: 200.9 kB / 0.9373 GB, free: 3.285 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008135/0.848, allocations: 0.6803 MB / 0.9379 GB, free: 2.598 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.899e-05/0.8481, allocations: 49.64 kB / 0.938 GB, free: 2.543 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003323/0.8484, allocations: 444.2 kB / 0.9384 GB, free: 2.102 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002298/0.8487, allocations: 299.8 kB / 0.9387 GB, free: 1.805 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002691/0.8489, allocations: 186.4 kB / 0.9389 GB, free: 1.613 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001861/0.8491, allocations: 390.8 kB / 0.9392 GB, free: 1.223 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005733/0.8497, allocations: 305.8 kB / 0.9395 GB, free: 0.9258 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006537/0.8504, allocations: 407.1 kB / 0.9399 GB, free: 0.5117 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001198/0.8516, allocations: 0.6867 MB / 0.9406 GB, free: 15.81 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.8516, allocations: 0 / 0.9406 GB, free: 15.81 MB / 0.7012 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001975/0.8536, allocations: 0.9463 MB / 0.9415 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.8536, allocations: 4 kB / 0.9415 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.8536, allocations: 3.938 kB / 0.9415 GB, free: 14.85 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005873/0.8542, allocations: 88.83 kB / 0.9416 GB, free: 14.76 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007699/0.855, allocations: 183.8 kB / 0.9418 GB, free: 14.58 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002062/0.8571, allocations: 1.636 MB / 0.9434 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007828/0.8579, allocations: 107.2 kB / 0.9435 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.13e-05/0.8579, allocations: 35.97 kB / 0.9435 GB, free: 12.66 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: 20 (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,incAng.decAng.tNext,$PRE.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 108 * 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.0005178/0.8585, allocations: 287.9 kB / 0.9438 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/0.8587, allocations: 90.95 kB / 0.9439 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002486/0.8611, allocations: 1.22 MB / 0.9451 GB, free: 11.06 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.8612, allocations: 11.98 kB / 0.9451 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.8612, allocations: 4 kB / 0.9451 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.8612, allocations: 7.984 kB / 0.9451 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/0.8623, allocations: 1.009 MB / 0.9461 GB, free: 9.977 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.8623, allocations: 0 / 0.9461 GB, free: 9.977 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006558/0.863, allocations: 163.8 kB / 0.9462 GB, free: 9.816 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004428/0.8635, allocations: 76.78 kB / 0.9463 GB, free: 9.738 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.8e-05/0.8635, allocations: 27.98 kB / 0.9463 GB, free: 9.711 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001795/0.8653, allocations: 1.658 MB / 0.9479 GB, free: 7.906 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.8653, allocations: 11.94 kB / 0.9479 GB, free: 7.895 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002038/0.8674, allocations: 1.04 MB / 0.949 GB, free: 6.836 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004007/0.8678, allocations: 303.5 kB / 0.9493 GB, free: 6.52 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/0.8679, allocations: 20 kB / 0.9493 GB, free: 6.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006436/0.8686, allocations: 66.25 kB / 0.9493 GB, free: 6.438 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/0.8688, allocations: 92.81 kB / 0.9494 GB, free: 6.348 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.7e-05/0.8688, allocations: 43.97 kB / 0.9495 GB, free: 6.305 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0006233/0.8695, allocations: 499 kB / 0.9499 GB, free: 5.82 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8695, allocations: 0 / 0.9499 GB, free: 5.82 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001009/0.8705, allocations: 363.1 kB / 0.9503 GB, free: 5.465 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001504/0.872, allocations: 0.6227 MB / 0.9509 GB, free: 5.016 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001832/0.8739, allocations: 0.9219 MB / 0.9518 GB, free: 4.082 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.8739, allocations: 0 / 0.9518 GB, free: 4.082 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009732/0.8749, allocations: 0.5824 MB / 0.9524 GB, free: 3.488 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.876, allocations: 305.4 kB / 0.9527 GB, free: 3.219 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004105/0.8801, allocations: 1.952 MB / 0.9546 GB, free: 1.242 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006073/0.8807, allocations: 1.071 MB / 0.9556 GB, free: 148 kB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0008577/0.8816, allocations: 283.3 kB / 0.9559 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002868/0.8819, allocations: 123.3 kB / 0.956 GB, free: 15.74 MB / 0.7169 GB Notification: Performance of SimCode: time 5.91e-07/0.8819, allocations: 0 / 0.956 GB, free: 15.74 MB / 0.7169 GB Notification: Performance of Templates: time 0.02787/0.9098, allocations: 16.87 MB / 0.9725 GB, free: 15.07 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1)