Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001314/0.001314, allocations: 182 kB / 15.98 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6996/0.6996, allocations: 133.3 MB / 150.1 MB, free: 11.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.36/1.36, allocations: 222.9 MB / 404.7 MB, free: 6.078 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.001002/0.001002, allocations: 107.5 kB / 485.9 MB, free: 7.246 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009927/0.0009928, allocations: 55.92 kB / 0.5636 GB, free: 69.93 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1394, allocations: 80.43 MB / 0.6421 GB, free: 5.434 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005768/0.1452, allocations: 4.139 MB / 0.6462 GB, free: 1.273 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.4484/0.5936, allocations: 148.1 MB / 0.7909 GB, free: 8.797 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007018/0.5944, allocations: 15.94 kB / 0.7909 GB, free: 8.781 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005002/0.5949, allocations: 129.8 kB / 0.791 GB, free: 8.656 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001261/0.5962, allocations: 411 kB / 0.7914 GB, free: 8.27 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001644/0.5978, allocations: 0.677 MB / 0.792 GB, free: 7.621 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0009755/0.5988, allocations: 1.114 MB / 0.7931 GB, free: 6.504 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007406/0.5996, allocations: 0.5908 MB / 0.7937 GB, free: 5.902 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004358/0.6, allocations: 378.4 kB / 0.7941 GB, free: 5.531 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004351/0.6005, allocations: 422 kB / 0.7945 GB, free: 5.117 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 9.805e-05/0.6006, allocations: 55.28 kB / 0.7945 GB, free: 5.066 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006814/0.6013, allocations: 395.2 kB / 0.7949 GB, free: 4.684 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001981/0.6015, allocations: 215.1 kB / 0.7951 GB, free: 4.473 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.000368/0.6018, allocations: 457.3 kB / 0.7955 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001215/0.6031, allocations: 1.398 MB / 0.7969 GB, free: 2.621 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.6031, allocations: 0 / 0.7969 GB, free: 2.621 MB / 0.5261 GB Notification: Performance of FrontEnd: time 7.82e-07/0.6031, allocations: 4 kB / 0.7969 GB, free: 2.617 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.6031, allocations: 0 / 0.7969 GB, free: 2.617 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.002003/0.6051, allocations: 1.311 MB / 0.7982 GB, free: 1.254 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.6052, allocations: 8.031 kB / 0.7982 GB, free: 1.246 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000843/0.606, allocations: 187.4 kB / 0.7984 GB, free: 1.062 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009355/0.607, allocations: 0.7076 MB / 0.7991 GB, free: 320 kB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.823e-05/0.607, allocations: 58 kB / 0.7991 GB, free: 260 kB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.465e-05/0.6071, allocations: 76 kB / 0.7992 GB, free: 184 kB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/0.6085, allocations: 0.8637 MB / 0.8 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.6085, allocations: 0 / 0.8 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.215e-05/0.6086, allocations: 36 kB / 0.8001 GB, free: 15.24 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/0.6086, allocations: 20 kB / 0.8001 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001595/0.6102, allocations: 1.061 MB / 0.8011 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003457/0.6137, allocations: 2.378 MB / 0.8035 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/0.615, allocations: 0.7937 MB / 0.8042 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004753/0.6154, allocations: 270.4 kB / 0.8045 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 7.893e-05/0.6155, allocations: 36.58 kB / 0.8045 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000823/0.6164, allocations: 428.8 kB / 0.8049 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=72): time 2.305e-06/0.6164, allocations: 0 / 0.8049 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of matching and sorting (n=72): time 0.002813/0.6192, allocations: 1.077 MB / 0.806 GB, free: 9.055 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.986e-05/0.6193, allocations: 192.6 kB / 0.8062 GB, free: 8.824 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006985/0.62, allocations: 0.5899 MB / 0.8067 GB, free: 8.227 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.899e-05/0.6201, allocations: 37.7 kB / 0.8068 GB, free: 8.184 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000254/0.6203, allocations: 376.3 kB / 0.8071 GB, free: 7.809 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/0.6205, allocations: 235 kB / 0.8074 GB, free: 7.578 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002154/0.6207, allocations: 158.4 kB / 0.8075 GB, free: 7.418 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.6209, allocations: 374.8 kB / 0.8079 GB, free: 7.043 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004555/0.6213, allocations: 237.9 kB / 0.8081 GB, free: 6.809 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005542/0.6219, allocations: 326.7 kB / 0.8084 GB, free: 6.473 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009574/0.6229, allocations: 0.5511 MB / 0.8089 GB, free: 5.906 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.6229, allocations: 0 / 0.8089 GB, free: 5.906 MB / 0.5417 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001764/0.6247, allocations: 0.7743 MB / 0.8097 GB, free: 5.121 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.6247, allocations: 4 kB / 0.8097 GB, free: 5.117 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.6247, allocations: 4.094 kB / 0.8097 GB, free: 5.113 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006062/0.6253, allocations: 80.77 kB / 0.8098 GB, free: 5.031 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005828/0.6259, allocations: 155.8 kB / 0.8099 GB, free: 4.879 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002005/0.6279, allocations: 1.512 MB / 0.8114 GB, free: 3.234 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005572/0.6285, allocations: 83.42 kB / 0.8115 GB, free: 3.152 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.39e-05/0.6286, allocations: 31.98 kB / 0.8115 GB, free: 3.121 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.0003257/0.6289, allocations: 251 kB / 0.8118 GB, free: 2.867 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.629, allocations: 75.06 kB / 0.8118 GB, free: 2.793 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002191/0.6312, allocations: 1.003 MB / 0.8128 GB, free: 1.777 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.6313, allocations: 8 kB / 0.8128 GB, free: 1.77 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.6313, allocations: 0 / 0.8128 GB, free: 1.77 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.6313, allocations: 11.72 kB / 0.8128 GB, free: 1.762 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003019/0.6343, allocations: 1.858 MB / 0.8146 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.289e-06/0.6343, allocations: 3.984 kB / 0.8146 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005418/0.6349, allocations: 143.8 kB / 0.8148 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005091/0.6354, allocations: 80.78 kB / 0.8149 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.871e-05/0.6354, allocations: 23.98 kB / 0.8149 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001745/0.6372, allocations: 1.552 MB / 0.8164 GB, free: 13.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.6372, allocations: 4.062 kB / 0.8164 GB, free: 13.9 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002594/0.6398, allocations: 1.912 MB / 0.8183 GB, free: 11.93 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003153/0.6402, allocations: 255.8 kB / 0.8185 GB, free: 11.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.9e-05/0.6403, allocations: 19.94 kB / 0.8185 GB, free: 11.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005214/0.6408, allocations: 59.94 kB / 0.8186 GB, free: 11.58 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.6409, allocations: 56.92 kB / 0.8186 GB, free: 11.52 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.966e-05/0.641, allocations: 27.98 kB / 0.8187 GB, free: 11.5 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004561/0.6415, allocations: 431 kB / 0.8191 GB, free: 11.08 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.382e-06/0.6415, allocations: 0 / 0.8191 GB, free: 11.08 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0008419/0.6423, allocations: 295.3 kB / 0.8194 GB, free: 10.79 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.001257/0.6436, allocations: 0.6047 MB / 0.82 GB, free: 10.37 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001444/0.645, allocations: 0.7516 MB / 0.8207 GB, free: 9.602 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.645, allocations: 3.984 kB / 0.8207 GB, free: 9.598 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0008153/0.6459, allocations: 0.4886 MB / 0.8212 GB, free: 9.098 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.647, allocations: 257.8 kB / 0.8214 GB, free: 8.852 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004023/0.651, allocations: 2.475 MB / 0.8238 GB, free: 6.328 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005719/0.6516, allocations: 1.019 MB / 0.8248 GB, free: 5.285 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007289/0.6523, allocations: 254.1 kB / 0.8251 GB, free: 5.035 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002251/0.6526, allocations: 99.38 kB / 0.8252 GB, free: 4.941 MB / 0.5573 GB Notification: Performance of SimCode: time 2.21e-07/0.6526, allocations: 0 / 0.8252 GB, free: 4.941 MB / 0.5573 GB Notification: Performance of Templates: time 0.02176/0.6744, allocations: 13.62 MB / 0.8385 GB, free: 7.441 MB / 0.573 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)