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.001353/0.001353, allocations: 110.3 kB / 16.41 MB, free: 6.5 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.0013/0.0013, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.455/1.455, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002518/0.002518, allocations: 297 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.061/1.061, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002792/0.002792, allocations: 95.84 kB / 0.6821 GB, free: 7.004 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4574/0.4602, allocations: 86.97 MB / 0.767 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.00758/0.4677, allocations: 5.33 MB / 0.7722 GB, free: 14.59 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1851/0.6528, allocations: 151.4 MB / 0.9201 GB, free: 6.594 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001007/0.6539, allocations: 23.88 kB / 0.9201 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006857/0.6545, allocations: 206 kB / 0.9203 GB, free: 6.367 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002181/0.6567, allocations: 0.6456 MB / 0.9209 GB, free: 5.723 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002388/0.6591, allocations: 1.009 MB / 0.9219 GB, free: 4.723 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002352/0.6615, allocations: 1.802 MB / 0.9237 GB, free: 2.914 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001388/0.6628, allocations: 0.856 MB / 0.9245 GB, free: 2.016 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001423/0.6643, allocations: 0.7746 MB / 0.9253 GB, free: 1.238 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001486/0.6658, allocations: 0.8401 MB / 0.9261 GB, free: 404 kB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003269/0.6661, allocations: 220 kB / 0.9263 GB, free: 184 kB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001682/0.6678, allocations: 0.5699 MB / 0.9269 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.000632/0.6684, allocations: 494.5 kB / 0.9273 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001346/0.6697, allocations: 0.9134 MB / 0.9282 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.005173/0.6749, allocations: 2.586 MB / 0.9308 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 8.335e-06/0.6749, allocations: 0 / 0.9308 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.815e-06/0.6749, allocations: 0 / 0.9308 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.934e-05/0.675, allocations: 0 / 0.9308 GB, free: 11.62 MB / 0.7012 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.006438/0.6814, allocations: 2.062 MB / 0.9328 GB, free: 9.496 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 6.037e-05/0.6815, allocations: 8.031 kB / 0.9328 GB, free: 9.488 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001899/0.6834, allocations: 263.6 kB / 0.933 GB, free: 9.23 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002588/0.686, allocations: 0.9975 MB / 0.934 GB, free: 8.188 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002219/0.6862, allocations: 152.8 kB / 0.9341 GB, free: 8.031 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000315/0.6865, allocations: 156 kB / 0.9343 GB, free: 7.879 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00462/0.6911, allocations: 1.589 MB / 0.9358 GB, free: 6.234 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.299e-05/0.6912, allocations: 3.938 kB / 0.9358 GB, free: 6.23 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002233/0.6914, allocations: 68 kB / 0.9359 GB, free: 6.164 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.302e-05/0.6915, allocations: 36 kB / 0.9359 GB, free: 6.129 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005043/0.6965, allocations: 1.596 MB / 0.9375 GB, free: 4.527 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01376/0.7103, allocations: 4.208 MB / 0.9416 GB, free: 244 kB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003752/0.714, allocations: 1.026 MB / 0.9426 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00137/0.7154, allocations: 387.7 kB / 0.943 GB, free: 14.83 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001676/0.7156, allocations: 45.06 kB / 0.943 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002256/0.7178, allocations: 0.6939 MB / 0.9437 GB, free: 14.08 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=111): time 5.681e-06/0.7178, allocations: 0 / 0.9437 GB, free: 14.08 MB / 0.7169 GB Notification: Performance of matching and sorting (n=111): time 0.007224/0.7251, allocations: 1.661 MB / 0.9453 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000202/0.7253, allocations: 188.9 kB / 0.9455 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002279/0.7275, allocations: 0.8415 MB / 0.9463 GB, free: 11.31 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002814/0.7278, allocations: 49.7 kB / 0.9464 GB, free: 11.25 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009938/0.7288, allocations: 0.6337 MB / 0.947 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007005/0.7295, allocations: 372.8 kB / 0.9474 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006204/0.7301, allocations: 226.8 kB / 0.9476 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002779/0.7304, allocations: 349.9 kB / 0.9479 GB, free: 9.672 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001621/0.732, allocations: 398.4 kB / 0.9483 GB, free: 9.281 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001742/0.7338, allocations: 0.5148 MB / 0.9488 GB, free: 8.754 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003105/0.7369, allocations: 0.8838 MB / 0.9496 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.7369, allocations: 0 / 0.9496 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.005174/0.7421, allocations: 1.208 MB / 0.9508 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.733e-05/0.7421, allocations: 4 kB / 0.9508 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/0.7421, allocations: 3.984 kB / 0.9508 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/0.7432, allocations: 84.88 kB / 0.9509 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002099/0.7453, allocations: 231.7 kB / 0.9511 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004016/0.7493, allocations: 1.643 MB / 0.9527 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002186/0.7515, allocations: 147.3 kB / 0.9529 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002083/0.7517, allocations: 51.95 kB / 0.9529 GB, free: 4.336 MB / 0.7169 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.001419/0.7531, allocations: 351.7 kB / 0.9533 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006615/0.7538, allocations: 119.2 kB / 0.9534 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006896/0.7607, allocations: 1.524 MB / 0.9549 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.533e-05/0.7607, allocations: 12 kB / 0.9549 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.7607, allocations: 4 kB / 0.9549 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.69e-05/0.7607, allocations: 7.969 kB / 0.9549 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003898/0.7646, allocations: 1.376 MB / 0.9562 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.869e-05/0.7646, allocations: 0 / 0.9562 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001742/0.7664, allocations: 195.7 kB / 0.9564 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008439/0.7672, allocations: 76.78 kB / 0.9565 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001697/0.7674, allocations: 35.97 kB / 0.9565 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4075/1.175, allocations: 1.664 MB / 0.9582 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/1.175, allocations: 3.062 kB / 0.9582 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003389/1.178, allocations: 1.284 MB / 0.9594 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00063/1.179, allocations: 365.6 kB / 0.9598 GB, free: 186.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001752/1.179, allocations: 35.81 kB / 0.9598 GB, free: 186.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009129/1.18, allocations: 81.7 kB / 0.9599 GB, free: 186 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002821/1.18, allocations: 106.2 kB / 0.96 GB, free: 186 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001317/1.18, allocations: 50.28 kB / 0.96 GB, free: 186 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001008/1.181, allocations: 0.6139 MB / 0.9606 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/1.181, allocations: 6.156 kB / 0.9606 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001121/1.183, allocations: 452.8 kB / 0.9611 GB, free: 185.7 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.001863/1.184, allocations: 0.6175 MB / 0.9617 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002245/1.187, allocations: 1.107 MB / 0.9627 GB, free: 185.1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/1.187, allocations: 1.125 kB / 0.9627 GB, free: 185.1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001147/1.188, allocations: 0.638 MB / 0.9634 GB, free: 184.8 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00141/1.189, allocations: 327.2 kB / 0.9637 GB, free: 184.7 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004929/1.194, allocations: 2.613 MB / 0.9662 GB, free: 183.4 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007844/1.195, allocations: 1.221 MB / 0.9674 GB, free: 182.7 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001139/1.196, allocations: 312.3 kB / 0.9677 GB, free: 182.6 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003941/1.196, allocations: 148.6 kB / 0.9679 GB, free: 182.6 MB / 0.7169 GB Notification: Performance of SimCode: time 1.022e-06/1.196, allocations: 0 / 0.9679 GB, free: 182.6 MB / 0.7169 GB Notification: Performance of Templates: time 0.02874/1.225, allocations: 19.83 MB / 0.9872 GB, free: 166.4 MB / 0.7169 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)