Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005564/0.005565, allocations: 102.6 kB / 15.73 MB, free: 6.492 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.001078/0.001078, allocations: 195 kB / 16.68 MB, free: 6.375 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00206/0.00206, allocations: 282.6 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9481/0.9481, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001663, allocations: 99.86 kB / 0.6814 GB, free: 15.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1787, allocations: 86.97 MB / 0.7664 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.006888/0.1856, allocations: 5.324 MB / 0.7716 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.6121/0.7978, allocations: 151 MB / 0.919 GB, free: 6.359 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001248/0.7991, allocations: 19.94 kB / 0.919 GB, free: 6.34 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0007062/0.7998, allocations: 202 kB / 0.9192 GB, free: 6.141 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002091/0.802, allocations: 0.6317 MB / 0.9198 GB, free: 5.527 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002169/0.8041, allocations: 1.002 MB / 0.9208 GB, free: 4.539 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001887/0.806, allocations: 1.815 MB / 0.9226 GB, free: 2.719 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001447/0.8075, allocations: 1.163 MB / 0.9237 GB, free: 1.516 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001058/0.8086, allocations: 0.7785 MB / 0.9245 GB, free: 0.7344 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009192/0.8095, allocations: 0.844 MB / 0.9253 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002536/0.8098, allocations: 220 kB / 0.9255 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001077/0.8108, allocations: 0.5699 MB / 0.9261 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004109/0.8113, allocations: 498.5 kB / 0.9265 GB, free: 14.61 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.000802/0.8121, allocations: 0.9144 MB / 0.9274 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00288/0.815, allocations: 2.577 MB / 0.93 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.815, allocations: 0 / 0.93 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.064e-06/0.815, allocations: 0 / 0.93 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.454e-05/0.815, allocations: 0 / 0.93 GB, free: 11.12 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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.003679/0.8187, allocations: 1.998 MB / 0.9319 GB, free: 9.066 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.8188, allocations: 12.03 kB / 0.9319 GB, free: 9.055 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.8198, allocations: 254.6 kB / 0.9322 GB, free: 8.805 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.8211, allocations: 0.9972 MB / 0.9331 GB, free: 7.762 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/0.8212, allocations: 144.8 kB / 0.9333 GB, free: 7.613 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001684/0.8214, allocations: 148 kB / 0.9334 GB, free: 7.469 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002512/0.8239, allocations: 1.598 MB / 0.935 GB, free: 5.816 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.705e-05/0.824, allocations: 8 kB / 0.935 GB, free: 5.809 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001364/0.8241, allocations: 60 kB / 0.935 GB, free: 5.75 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.002e-05/0.8242, allocations: 40 kB / 0.9351 GB, free: 5.711 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002446/0.8266, allocations: 1.594 MB / 0.9366 GB, free: 4.113 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006134/0.8328, allocations: 4.179 MB / 0.9407 GB, free: 15.85 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001925/0.8347, allocations: 1.089 MB / 0.9418 GB, free: 14.76 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000696/0.8354, allocations: 431.7 kB / 0.9422 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 9.239e-05/0.8355, allocations: 45 kB / 0.9422 GB, free: 14.3 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001159/0.8367, allocations: 0.6957 MB / 0.9429 GB, free: 13.58 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=111): time 2.565e-06/0.8367, allocations: 4 kB / 0.9429 GB, free: 13.58 MB / 0.7012 GB Notification: Performance of matching and sorting (n=111): time 0.003792/0.8405, allocations: 1.641 MB / 0.9445 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.8406, allocations: 196.9 kB / 0.9447 GB, free: 11.67 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.8417, allocations: 0.8492 MB / 0.9455 GB, free: 10.81 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.965e-05/0.8418, allocations: 49.69 kB / 0.9456 GB, free: 10.76 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004772/0.8423, allocations: 0.6167 MB / 0.9462 GB, free: 10.13 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002728/0.8426, allocations: 358.9 kB / 0.9465 GB, free: 9.777 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003158/0.8429, allocations: 218.8 kB / 0.9467 GB, free: 9.559 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.8431, allocations: 353.7 kB / 0.9471 GB, free: 9.211 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007032/0.8438, allocations: 398.9 kB / 0.9475 GB, free: 8.82 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008462/0.8446, allocations: 0.515 MB / 0.948 GB, free: 8.293 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/0.8462, allocations: 0.8799 MB / 0.9488 GB, free: 7.398 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.8462, allocations: 0 / 0.9488 GB, free: 7.398 MB / 0.7012 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002501/0.8487, allocations: 1.205 MB / 0.95 GB, free: 6.184 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.8487, allocations: 8 kB / 0.95 GB, free: 6.176 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.8487, allocations: 0 / 0.95 GB, free: 6.176 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005748/0.8493, allocations: 84.84 kB / 0.9501 GB, free: 6.09 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009302/0.8503, allocations: 227.7 kB / 0.9503 GB, free: 5.867 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002172/0.8524, allocations: 1.655 MB / 0.9519 GB, free: 4.07 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009685/0.8534, allocations: 134 kB / 0.952 GB, free: 3.941 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/0.8536, allocations: 55.95 kB / 0.9521 GB, free: 3.887 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 26 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDirWal.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirRoo.incAng.decAng.tNext,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,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 134 * 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.0006888/0.8543, allocations: 344.2 kB / 0.9524 GB, free: 3.539 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002493/0.8545, allocations: 114.6 kB / 0.9525 GB, free: 3.426 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003191/0.8577, allocations: 1.533 MB / 0.954 GB, free: 1.879 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.8577, allocations: 12 kB / 0.954 GB, free: 1.867 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.8577, allocations: 3.984 kB / 0.954 GB, free: 1.863 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.846e-05/0.8578, allocations: 3.984 kB / 0.9541 GB, free: 1.859 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001669/0.8594, allocations: 1.365 MB / 0.9554 GB, free: 456 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/0.8595, allocations: 4 kB / 0.9554 GB, free: 452 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007746/0.8602, allocations: 199.7 kB / 0.9556 GB, free: 252 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004406/0.8607, allocations: 72.78 kB / 0.9557 GB, free: 176 kB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-05/0.8608, allocations: 39.97 kB / 0.9557 GB, free: 136 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001974/0.8628, allocations: 1.673 MB / 0.9573 GB, free: 14.31 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.8628, allocations: 3.938 kB / 0.9573 GB, free: 14.31 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002668/0.8655, allocations: 1.281 MB / 0.9586 GB, free: 13 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006021/0.8661, allocations: 355.2 kB / 0.9589 GB, free: 12.63 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000243/0.8663, allocations: 35.84 kB / 0.9589 GB, free: 12.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009111/0.8673, allocations: 79.91 kB / 0.959 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002034/0.8675, allocations: 97.17 kB / 0.9591 GB, free: 12.43 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/0.8676, allocations: 55.95 kB / 0.9592 GB, free: 12.37 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0008909/0.8685, allocations: 0.6135 MB / 0.9598 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8685, allocations: 0 / 0.9598 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001151/0.8696, allocations: 449 kB / 0.9602 GB, free: 11.31 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: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001599/0.8712, allocations: 0.6222 MB / 0.9608 GB, free: 10.87 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002366/0.8736, allocations: 1.158 MB / 0.9619 GB, free: 9.699 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.8736, allocations: 0 / 0.9619 GB, free: 9.699 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001212/0.8749, allocations: 0.6818 MB / 0.9626 GB, free: 9.004 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/0.8762, allocations: 326 kB / 0.9629 GB, free: 8.711 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005475/0.8817, allocations: 2.569 MB / 0.9654 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009662/0.8827, allocations: 1.216 MB / 0.9666 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001061/0.8838, allocations: 321.1 kB / 0.9669 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004229/0.8842, allocations: 139.4 kB / 0.9671 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of SimCode: time 9.52e-07/0.8842, allocations: 4 kB / 0.9671 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of Templates: time 0.03361/0.9178, allocations: 19.75 MB / 0.9863 GB, free: 0.8633 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)