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.006474/0.006474, allocations: 101.4 kB / 15.73 MB, free: 6.012 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.001312/0.001312, allocations: 194 kB / 16.67 MB, free: 5.949 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002284/0.002284, allocations: 275.1 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9387/0.9387, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001733, allocations: 95.84 kB / 0.6814 GB, free: 15.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1704, allocations: 86.97 MB / 0.7664 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.007347/0.1778, allocations: 5.329 MB / 0.7716 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.548/0.7258, allocations: 151 MB / 0.919 GB, free: 6.344 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001858/0.7277, allocations: 19.94 kB / 0.919 GB, free: 6.324 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001093/0.7288, allocations: 204.4 kB / 0.9192 GB, free: 6.125 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003465/0.7324, allocations: 0.6337 MB / 0.9198 GB, free: 5.508 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003071/0.7355, allocations: 0.9995 MB / 0.9208 GB, free: 4.516 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002314/0.7378, allocations: 1.807 MB / 0.9226 GB, free: 2.703 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001449/0.7393, allocations: 1.169 MB / 0.9237 GB, free: 1.496 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00111/0.7404, allocations: 0.7824 MB / 0.9245 GB, free: 0.7109 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008793/0.7413, allocations: 0.8407 MB / 0.9253 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000241/0.7415, allocations: 220 kB / 0.9255 GB, free: 15.65 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001046/0.7426, allocations: 0.5738 MB / 0.9261 GB, free: 15.08 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003781/0.743, allocations: 494.5 kB / 0.9265 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007415/0.7437, allocations: 0.9212 MB / 0.9274 GB, free: 13.67 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002659/0.7464, allocations: 2.569 MB / 0.9299 GB, free: 11.1 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.7464, allocations: 4 kB / 0.93 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.064e-06/0.7464, allocations: 1.312 kB / 0.93 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.366e-05/0.7465, allocations: 0 / 0.93 GB, free: 11.09 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.003896/0.7504, allocations: 2.002 MB / 0.9319 GB, free: 9.039 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.7504, allocations: 8.031 kB / 0.9319 GB, free: 9.031 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.7515, allocations: 254.6 kB / 0.9322 GB, free: 8.781 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/0.753, allocations: 0.9932 MB / 0.9331 GB, free: 7.742 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001778/0.7532, allocations: 144.8 kB / 0.9333 GB, free: 7.594 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000176/0.7534, allocations: 160 kB / 0.9334 GB, free: 7.438 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002671/0.7561, allocations: 1.589 MB / 0.935 GB, free: 5.793 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.232e-05/0.7561, allocations: 0 / 0.935 GB, free: 5.793 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001345/0.7563, allocations: 68 kB / 0.935 GB, free: 5.727 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.049e-05/0.7563, allocations: 36 kB / 0.9351 GB, free: 5.691 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00257/0.7589, allocations: 1.592 MB / 0.9366 GB, free: 4.094 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006871/0.7657, allocations: 4.179 MB / 0.9407 GB, free: 15.83 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001934/0.7677, allocations: 1.097 MB / 0.9418 GB, free: 14.74 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007039/0.7685, allocations: 436.3 kB / 0.9422 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/0.7686, allocations: 36.94 kB / 0.9422 GB, free: 14.28 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001179/0.7698, allocations: 0.6997 MB / 0.9429 GB, free: 13.56 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=111): time 2.976e-06/0.7698, allocations: 4 kB / 0.9429 GB, free: 13.56 MB / 0.7012 GB Notification: Performance of matching and sorting (n=111): time 0.003897/0.7737, allocations: 1.653 MB / 0.9445 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.7738, allocations: 196.9 kB / 0.9447 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.775, allocations: 0.8414 MB / 0.9455 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.229e-05/0.7751, allocations: 49.7 kB / 0.9456 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005005/0.7756, allocations: 0.6206 MB / 0.9462 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002964/0.7759, allocations: 346.9 kB / 0.9465 GB, free: 9.762 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000337/0.7762, allocations: 226.8 kB / 0.9467 GB, free: 9.535 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.7764, allocations: 345.9 kB / 0.9471 GB, free: 9.191 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007194/0.7771, allocations: 402.4 kB / 0.9475 GB, free: 8.797 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008562/0.778, allocations: 0.5072 MB / 0.948 GB, free: 8.277 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001511/0.7795, allocations: 0.8838 MB / 0.9488 GB, free: 7.379 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.7795, allocations: 0 / 0.9488 GB, free: 7.379 MB / 0.7012 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002589/0.7821, allocations: 1.203 MB / 0.95 GB, free: 6.164 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.7821, allocations: 4 kB / 0.95 GB, free: 6.16 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.7821, allocations: 4 kB / 0.95 GB, free: 6.156 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005945/0.7827, allocations: 88.81 kB / 0.9501 GB, free: 6.066 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009581/0.7837, allocations: 231.6 kB / 0.9503 GB, free: 5.84 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002115/0.7858, allocations: 1.643 MB / 0.9519 GB, free: 4.055 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/0.7869, allocations: 141.3 kB / 0.952 GB, free: 3.918 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.345e-05/0.787, allocations: 47.97 kB / 0.9521 GB, free: 3.871 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.0006216/0.7876, allocations: 356.1 kB / 0.9524 GB, free: 3.512 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002403/0.7879, allocations: 115.4 kB / 0.9525 GB, free: 3.398 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003109/0.791, allocations: 1.528 MB / 0.954 GB, free: 1.859 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.791, allocations: 16 kB / 0.954 GB, free: 1.844 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.791, allocations: 3.938 kB / 0.954 GB, free: 1.84 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/0.7911, allocations: 7.969 kB / 0.9541 GB, free: 1.832 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001676/0.7927, allocations: 1.365 MB / 0.9554 GB, free: 428 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.84e-06/0.7928, allocations: 1.312 kB / 0.9554 GB, free: 428 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008085/0.7936, allocations: 195.8 kB / 0.9556 GB, free: 232 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004559/0.794, allocations: 72.73 kB / 0.9556 GB, free: 156 kB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-05/0.7941, allocations: 39.97 kB / 0.9557 GB, free: 116 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001981/0.7961, allocations: 1.668 MB / 0.9573 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.7961, allocations: 4 kB / 0.9573 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002625/0.7988, allocations: 1.285 MB / 0.9586 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005536/0.7993, allocations: 359.2 kB / 0.9589 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/0.7995, allocations: 31.84 kB / 0.9589 GB, free: 12.58 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008357/0.8003, allocations: 87.97 kB / 0.959 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002057/0.8006, allocations: 101.2 kB / 0.9591 GB, free: 12.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/0.8007, allocations: 47.97 kB / 0.9592 GB, free: 12.35 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0008717/0.8015, allocations: 0.6174 MB / 0.9598 GB, free: 11.72 MB / 0.7169 GB Notification: Performance of sort global known variables: time 4.2e-07/0.8016, allocations: 0 / 0.9598 GB, free: 11.72 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001127/0.8027, allocations: 449.6 kB / 0.9602 GB, free: 11.29 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.001391/0.8041, allocations: 0.6212 MB / 0.9608 GB, free: 10.85 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002248/0.8063, allocations: 1.154 MB / 0.9619 GB, free: 9.684 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.8064, allocations: 0 / 0.9619 GB, free: 9.684 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001164/0.8075, allocations: 0.6857 MB / 0.9626 GB, free: 8.984 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001374/0.8089, allocations: 314.8 kB / 0.9629 GB, free: 8.695 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004981/0.8139, allocations: 2.579 MB / 0.9654 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008544/0.8148, allocations: 1.22 MB / 0.9666 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001011/0.8158, allocations: 305.1 kB / 0.9669 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003654/0.8162, allocations: 147.4 kB / 0.967 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of SimCode: time 5.61e-07/0.8162, allocations: 0 / 0.967 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of Templates: time 0.03561/0.8518, allocations: 20.16 MB / 0.9867 GB, free: 460 kB / 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)