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.001073/0.001073, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001118/0.001118, allocations: 195.2 kB / 16.14 MB, free: 6.715 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.305/1.305, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002027/0.002027, allocations: 290.9 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.94/0.94, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 89.69 kB / 0.5945 GB, free: 28.4 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1431, allocations: 86.99 MB / 0.6794 GB, free: 1.176 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.006709/0.1499, allocations: 5.321 MB / 0.6846 GB, free: 11.84 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4223/0.5722, allocations: 148.6 MB / 0.8298 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008256/0.5731, allocations: 17.75 kB / 0.8298 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005522/0.5737, allocations: 162.3 kB / 0.83 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001644/0.5754, allocations: 0.5414 MB / 0.8305 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001808/0.5772, allocations: 0.8748 MB / 0.8313 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001534/0.5787, allocations: 1.674 MB / 0.833 GB, free: 488 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001592/0.5803, allocations: 1.132 MB / 0.8341 GB, free: 240 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009981/0.5813, allocations: 0.6629 MB / 0.8347 GB, free: 80 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007523/0.5821, allocations: 0.7738 MB / 0.8355 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002104/0.5823, allocations: 114.4 kB / 0.8356 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009135/0.5832, allocations: 460.5 kB / 0.836 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003114/0.5836, allocations: 391.9 kB / 0.8364 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006813/0.5842, allocations: 0.8117 MB / 0.8372 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00204/0.5863, allocations: 2.432 MB / 0.8396 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.5863, allocations: 3.906 kB / 0.8396 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.81e-07/0.5863, allocations: 0 / 0.8396 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.037e-05/0.5864, allocations: 0 / 0.8396 GB, free: 14.7 MB / 0.5762 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.004005/0.5904, allocations: 1.999 MB / 0.8415 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.5904, allocations: 12.19 kB / 0.8415 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/0.5916, allocations: 261.1 kB / 0.8418 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/0.593, allocations: 0.9676 MB / 0.8427 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/0.5932, allocations: 146.2 kB / 0.8429 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001727/0.5933, allocations: 158.4 kB / 0.843 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002753/0.5961, allocations: 1.593 MB / 0.8446 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.801e-05/0.5961, allocations: 0 / 0.8446 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001386/0.5963, allocations: 61.06 kB / 0.8446 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/0.5963, allocations: 42.97 kB / 0.8447 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002546/0.5989, allocations: 1.594 MB / 0.8462 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006833/0.6057, allocations: 4.243 MB / 0.8504 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001914/0.6077, allocations: 1.092 MB / 0.8515 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00073/0.6084, allocations: 424.6 kB / 0.8519 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.459e-05/0.6085, allocations: 44.11 kB / 0.8519 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001298/0.6098, allocations: 0.6981 MB / 0.8526 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=111): time 3.226e-06/0.6098, allocations: 7.875 kB / 0.8526 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of matching and sorting (n=111): time 0.003918/0.6138, allocations: 1.65 MB / 0.8542 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.6139, allocations: 193.8 kB / 0.8544 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.615, allocations: 0.8431 MB / 0.8552 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.004e-05/0.6151, allocations: 49.61 kB / 0.8553 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004538/0.6155, allocations: 0.6194 MB / 0.8559 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002736/0.6158, allocations: 359 kB / 0.8562 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003333/0.6162, allocations: 231.7 kB / 0.8564 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.6163, allocations: 343.3 kB / 0.8568 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007173/0.617, allocations: 400.7 kB / 0.8571 GB, free: 3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008389/0.6178, allocations: 0.5085 MB / 0.8576 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/0.6194, allocations: 0.8861 MB / 0.8585 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-06/0.6194, allocations: 0 / 0.8585 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002643/0.622, allocations: 1.202 MB / 0.8597 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.6221, allocations: 5.25 kB / 0.8597 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.6221, allocations: 2.75 kB / 0.8597 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006258/0.6227, allocations: 85.64 kB / 0.8598 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009655/0.6237, allocations: 228.7 kB / 0.86 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002009/0.6257, allocations: 1.538 MB / 0.8615 GB, free: 0 / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.6268, allocations: 133.8 kB / 0.8616 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-05/0.6269, allocations: 53.42 kB / 0.8617 GB, free: 15.89 MB / 0.5919 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.0006807/0.6276, allocations: 354.7 kB / 0.862 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002119/0.6278, allocations: 111 kB / 0.8621 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003382/0.6312, allocations: 1.529 MB / 0.8636 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.6312, allocations: 12.84 kB / 0.8636 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.6312, allocations: 1 kB / 0.8636 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/0.6312, allocations: 3.984 kB / 0.8636 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/0.633, allocations: 1.373 MB / 0.865 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/0.633, allocations: 3.984 kB / 0.865 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008059/0.6338, allocations: 194.6 kB / 0.8651 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005397/0.6344, allocations: 87.89 kB / 0.8652 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.839e-05/0.6345, allocations: 40.31 kB / 0.8653 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001847/0.6363, allocations: 1.57 MB / 0.8668 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.6363, allocations: 0 / 0.8668 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002632/0.639, allocations: 1.289 MB / 0.8681 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005244/0.6395, allocations: 358 kB / 0.8684 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001808/0.6397, allocations: 27.66 kB / 0.8684 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008617/0.6406, allocations: 83.47 kB / 0.8685 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002099/0.6408, allocations: 102.9 kB / 0.8686 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.644e-05/0.6409, allocations: 52.55 kB / 0.8687 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008041/0.6417, allocations: 0.6156 MB / 0.8693 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6417, allocations: 0 / 0.8693 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001108/0.6428, allocations: 445.2 kB / 0.8697 GB, free: 10.47 MB / 0.5919 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.00142/0.6443, allocations: 0.6186 MB / 0.8703 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002194/0.6465, allocations: 1.146 MB / 0.8714 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.6465, allocations: 3.938 kB / 0.8714 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001108/0.6476, allocations: 0.6819 MB / 0.8721 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.6488, allocations: 294.3 kB / 0.8724 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005151/0.654, allocations: 3.288 MB / 0.8756 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007428/0.6548, allocations: 1.224 MB / 0.8768 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001107/0.6559, allocations: 313.1 kB / 0.8771 GB, free: 5.145 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003953/0.6563, allocations: 143.4 kB / 0.8772 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of SimCode: time 9.12e-07/0.6563, allocations: 0 / 0.8772 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of Templates: time 0.03092/0.6872, allocations: 18.66 MB / 0.8954 GB, free: 2.574 MB / 0.6075 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)