Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.00119, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7272/0.7272, allocations: 132.2 MB / 148.9 MB, free: 12.17 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 403.4 MB, free: 7.055 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 113.2 kB / 484.4 MB, free: 8.66 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001047/0.001047, allocations: 55.91 kB / 0.5618 GB, free: 71.02 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.133, allocations: 80.2 MB / 0.6402 GB, free: 6.75 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005391/0.1384, allocations: 4.13 MB / 0.6442 GB, free: 2.594 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.4306/0.569, allocations: 148.1 MB / 0.7889 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/0.5701, allocations: 15.69 kB / 0.7889 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0007154/0.5709, allocations: 141.7 kB / 0.789 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001655/0.5726, allocations: 403.3 kB / 0.7894 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001879/0.5745, allocations: 0.6922 MB / 0.7901 GB, free: 9.52 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001168/0.5757, allocations: 1.11 MB / 0.7912 GB, free: 8.406 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000919/0.5766, allocations: 0.5911 MB / 0.7917 GB, free: 7.805 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005267/0.5771, allocations: 374.4 kB / 0.7921 GB, free: 7.438 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005708/0.5777, allocations: 421.9 kB / 0.7925 GB, free: 7.023 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001564/0.5779, allocations: 52 kB / 0.7926 GB, free: 6.973 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008035/0.5787, allocations: 388.2 kB / 0.7929 GB, free: 6.598 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002475/0.5789, allocations: 219.1 kB / 0.7931 GB, free: 6.383 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0004304/0.5794, allocations: 465.3 kB / 0.7936 GB, free: 5.926 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001549/0.5809, allocations: 1.398 MB / 0.7949 GB, free: 4.523 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.581, allocations: 0 / 0.7949 GB, free: 4.523 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.011e-06/0.581, allocations: 0 / 0.7949 GB, free: 4.523 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.695e-05/0.581, allocations: 4 kB / 0.7949 GB, free: 4.52 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.002385/0.5834, allocations: 1.315 MB / 0.7962 GB, free: 3.152 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.5834, allocations: 8.031 kB / 0.7962 GB, free: 3.145 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008978/0.5843, allocations: 180 kB / 0.7964 GB, free: 2.969 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.5854, allocations: 0.7037 MB / 0.7971 GB, free: 2.223 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.119e-05/0.5854, allocations: 58 kB / 0.7972 GB, free: 2.164 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.5855, allocations: 76 kB / 0.7972 GB, free: 2.09 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/0.5869, allocations: 0.8714 MB / 0.7981 GB, free: 1.18 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.587, allocations: 0 / 0.7981 GB, free: 1.18 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-05/0.5871, allocations: 32 kB / 0.7981 GB, free: 1.148 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.9e-05/0.5871, allocations: 22.31 kB / 0.7981 GB, free: 1.129 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001696/0.5888, allocations: 1.065 MB / 0.7992 GB, free: 60 kB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003532/0.5923, allocations: 2.378 MB / 0.8015 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/0.5936, allocations: 0.7902 MB / 0.8023 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004793/0.5941, allocations: 270.4 kB / 0.8025 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 7.751e-05/0.5942, allocations: 40.52 kB / 0.8026 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007282/0.595, allocations: 423.2 kB / 0.803 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=72): time 2.545e-06/0.595, allocations: 0 / 0.803 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of matching and sorting (n=72): time 0.002914/0.5979, allocations: 1.073 MB / 0.804 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.048e-05/0.598, allocations: 192.6 kB / 0.8042 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007027/0.5987, allocations: 0.593 MB / 0.8048 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.361e-05/0.5988, allocations: 41.7 kB / 0.8048 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002924/0.5991, allocations: 376.3 kB / 0.8052 GB, free: 9.711 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001673/0.5993, allocations: 236.6 kB / 0.8054 GB, free: 9.477 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002471/0.5995, allocations: 154.4 kB / 0.8055 GB, free: 9.32 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.5997, allocations: 378.8 kB / 0.8059 GB, free: 8.941 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004695/0.6002, allocations: 233.9 kB / 0.8061 GB, free: 8.715 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006138/0.6008, allocations: 326.8 kB / 0.8064 GB, free: 8.383 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.6018, allocations: 0.5472 MB / 0.807 GB, free: 7.82 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/0.6018, allocations: 4 kB / 0.807 GB, free: 7.816 MB / 0.5417 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001849/0.6037, allocations: 0.7743 MB / 0.8077 GB, free: 7.031 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.6037, allocations: 4 kB / 0.8077 GB, free: 7.027 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.6037, allocations: 0 / 0.8077 GB, free: 7.027 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006431/0.6044, allocations: 87.98 kB / 0.8078 GB, free: 6.941 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005902/0.605, allocations: 143.8 kB / 0.808 GB, free: 6.801 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001978/0.607, allocations: 1.515 MB / 0.8094 GB, free: 5.148 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006805/0.6077, allocations: 91.36 kB / 0.8095 GB, free: 5.059 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.06e-05/0.6077, allocations: 27.98 kB / 0.8096 GB, free: 5.031 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * 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.0005355/0.6083, allocations: 254.3 kB / 0.8098 GB, free: 4.773 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.6084, allocations: 75.06 kB / 0.8099 GB, free: 4.699 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002309/0.6108, allocations: 1.003 MB / 0.8108 GB, free: 3.688 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.6108, allocations: 15.98 kB / 0.8109 GB, free: 3.672 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.6108, allocations: 0 / 0.8109 GB, free: 3.672 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.6108, allocations: 3.984 kB / 0.8109 GB, free: 3.668 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003186/0.614, allocations: 1.85 MB / 0.8127 GB, free: 1.762 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.614, allocations: 0 / 0.8127 GB, free: 1.762 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005667/0.6146, allocations: 143.8 kB / 0.8128 GB, free: 1.621 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005267/0.6151, allocations: 80.78 kB / 0.8129 GB, free: 1.539 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-05/0.6152, allocations: 26.52 kB / 0.8129 GB, free: 1.516 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00186/0.6171, allocations: 1.552 MB / 0.8144 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.6171, allocations: 3.984 kB / 0.8144 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0028/0.6199, allocations: 1.916 MB / 0.8163 GB, free: 13.84 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004093/0.6203, allocations: 255.8 kB / 0.8165 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.991e-05/0.6204, allocations: 19.94 kB / 0.8166 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000544/0.621, allocations: 57.2 kB / 0.8166 GB, free: 13.5 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/0.6211, allocations: 56.92 kB / 0.8167 GB, free: 13.45 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.799e-05/0.6212, allocations: 35.97 kB / 0.8167 GB, free: 13.41 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005225/0.6217, allocations: 423.1 kB / 0.8171 GB, free: 13 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6217, allocations: 0 / 0.8171 GB, free: 13 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0009627/0.6227, allocations: 295.3 kB / 0.8174 GB, free: 12.71 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001314/0.624, allocations: 0.5973 MB / 0.818 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001554/0.6256, allocations: 0.7479 MB / 0.8187 GB, free: 11.53 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.6256, allocations: 4 kB / 0.8187 GB, free: 11.53 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0008508/0.6265, allocations: 496.2 kB / 0.8192 GB, free: 11.03 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.6276, allocations: 259.9 kB / 0.8194 GB, free: 10.78 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004092/0.6317, allocations: 2.49 MB / 0.8219 GB, free: 8.25 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005751/0.6323, allocations: 1.023 MB / 0.8229 GB, free: 7.203 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000811/0.6332, allocations: 250.2 kB / 0.8231 GB, free: 6.957 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002313/0.6334, allocations: 103.4 kB / 0.8232 GB, free: 6.855 MB / 0.5573 GB Notification: Performance of SimCode: time 5.71e-07/0.6334, allocations: 0 / 0.8232 GB, free: 6.855 MB / 0.5573 GB Notification: Performance of Templates: time 0.0216/0.655, allocations: 13.6 MB / 0.8365 GB, free: 9.371 MB / 0.573 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)