Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 181.1 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-master/package.mo): time 0.8286/0.8286, allocations: 133.3 MB / 150.1 MB, free: 11.16 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.33/1.33, allocations: 222.9 MB / 404.7 MB, free: 6.086 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.001022/0.001022, allocations: 103.6 kB / 485.9 MB, free: 7.246 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009765/0.0009765, allocations: 63.89 kB / 0.5636 GB, free: 69.95 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1204, allocations: 80.43 MB / 0.6421 GB, free: 5.453 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005306/0.1258, allocations: 4.087 MB / 0.6461 GB, free: 1.344 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.41/0.5358, allocations: 148.1 MB / 0.7908 GB, free: 8.883 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000727/0.5366, allocations: 11.94 kB / 0.7908 GB, free: 8.871 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005517/0.5372, allocations: 130 kB / 0.7909 GB, free: 8.746 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001326/0.5385, allocations: 395.2 kB / 0.7913 GB, free: 8.375 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001633/0.5401, allocations: 0.6884 MB / 0.792 GB, free: 7.715 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001005/0.5412, allocations: 1.095 MB / 0.7931 GB, free: 6.617 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007575/0.5419, allocations: 0.5907 MB / 0.7936 GB, free: 6.016 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004091/0.5423, allocations: 370.5 kB / 0.794 GB, free: 5.652 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004181/0.5428, allocations: 415.7 kB / 0.7944 GB, free: 5.246 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 9.996e-05/0.5429, allocations: 56 kB / 0.7944 GB, free: 5.191 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006741/0.5436, allocations: 388.4 kB / 0.7948 GB, free: 4.816 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002023/0.5438, allocations: 227.1 kB / 0.795 GB, free: 4.594 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003607/0.5441, allocations: 441.4 kB / 0.7954 GB, free: 4.16 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001277/0.5454, allocations: 1.41 MB / 0.7968 GB, free: 2.746 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.5454, allocations: 0 / 0.7968 GB, free: 2.746 MB / 0.5261 GB Notification: Performance of FrontEnd: time 8.22e-07/0.5455, allocations: 4 kB / 0.7968 GB, free: 2.742 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.317e-06/0.5455, allocations: 0 / 0.7968 GB, free: 2.742 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002047/0.5475, allocations: 1.307 MB / 0.7981 GB, free: 1.383 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.5476, allocations: 8.031 kB / 0.7981 GB, free: 1.375 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008264/0.5484, allocations: 175.5 kB / 0.7983 GB, free: 1.203 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009809/0.5494, allocations: 0.7076 MB / 0.799 GB, free: 464 kB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.586e-05/0.5494, allocations: 58 kB / 0.799 GB, free: 404 kB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.316e-05/0.5495, allocations: 79.98 kB / 0.7991 GB, free: 324 kB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.5509, allocations: 0.8559 MB / 0.7999 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.5509, allocations: 0 / 0.7999 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.159e-05/0.551, allocations: 32 kB / 0.8 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.49e-05/0.551, allocations: 23.98 kB / 0.8 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001606/0.5526, allocations: 1.057 MB / 0.801 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003473/0.5561, allocations: 2.403 MB / 0.8034 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/0.5574, allocations: 0.7898 MB / 0.8041 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004945/0.5579, allocations: 278.4 kB / 0.8044 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 7.157e-05/0.558, allocations: 28.59 kB / 0.8044 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007721/0.5588, allocations: 417.8 kB / 0.8048 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=70): time 1.963e-06/0.5588, allocations: 6.438 kB / 0.8048 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of matching and sorting (n=70): time 0.002902/0.5617, allocations: 1.066 MB / 0.8059 GB, free: 9.195 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.459e-05/0.5618, allocations: 188.5 kB / 0.8061 GB, free: 8.969 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000649/0.5625, allocations: 0.5822 MB / 0.8066 GB, free: 8.379 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.959e-05/0.5625, allocations: 37.7 kB / 0.8067 GB, free: 8.336 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002668/0.5628, allocations: 364.3 kB / 0.807 GB, free: 7.973 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001708/0.563, allocations: 236.6 kB / 0.8072 GB, free: 7.738 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002085/0.5632, allocations: 146.5 kB / 0.8074 GB, free: 7.59 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.5634, allocations: 382.8 kB / 0.8077 GB, free: 7.207 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000452/0.5638, allocations: 237.9 kB / 0.808 GB, free: 6.973 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005459/0.5644, allocations: 322.7 kB / 0.8083 GB, free: 6.641 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.5654, allocations: 0.5507 MB / 0.8088 GB, free: 6.078 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.5654, allocations: 3.938 kB / 0.8088 GB, free: 6.078 MB / 0.5417 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001704/0.5671, allocations: 0.7588 MB / 0.8096 GB, free: 5.309 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.5671, allocations: 11.98 kB / 0.8096 GB, free: 5.297 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.5672, allocations: 0 / 0.8096 GB, free: 5.297 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005767/0.5677, allocations: 80.88 kB / 0.8096 GB, free: 5.215 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005579/0.5683, allocations: 143.8 kB / 0.8098 GB, free: 5.074 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001949/0.5703, allocations: 1.532 MB / 0.8113 GB, free: 3.406 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005372/0.5708, allocations: 79.42 kB / 0.8113 GB, free: 3.328 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.94e-05/0.5709, allocations: 31.45 kB / 0.8114 GB, free: 3.301 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 (81): * Single equations (assignments): 80 * 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.0003122/0.5712, allocations: 263 kB / 0.8116 GB, free: 3.035 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.5713, allocations: 75.06 kB / 0.8117 GB, free: 2.961 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002157/0.5735, allocations: 0.968 MB / 0.8126 GB, free: 1.984 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.5735, allocations: 8 kB / 0.8127 GB, free: 1.977 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.5735, allocations: 0 / 0.8127 GB, free: 1.977 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.906e-06/0.5735, allocations: 7.922 kB / 0.8127 GB, free: 1.969 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002889/0.5764, allocations: 1.836 MB / 0.8145 GB, free: 76 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.5765, allocations: 0 / 0.8145 GB, free: 76 kB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005308/0.577, allocations: 139.8 kB / 0.8146 GB, free: 15.94 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005126/0.5775, allocations: 80.77 kB / 0.8147 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.453e-05/0.5776, allocations: 19.98 kB / 0.8147 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001748/0.5793, allocations: 1.559 MB / 0.8162 GB, free: 14.14 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.5793, allocations: 3.984 kB / 0.8162 GB, free: 14.13 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002654/0.582, allocations: 1.889 MB / 0.8181 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000314/0.5823, allocations: 255.8 kB / 0.8183 GB, free: 11.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.722e-05/0.5824, allocations: 20 kB / 0.8183 GB, free: 11.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005233/0.583, allocations: 56.72 kB / 0.8184 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.5831, allocations: 56.91 kB / 0.8184 GB, free: 11.79 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.849e-05/0.5832, allocations: 31.98 kB / 0.8185 GB, free: 11.75 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004493/0.5836, allocations: 419.1 kB / 0.8189 GB, free: 11.35 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5836, allocations: 0 / 0.8189 GB, free: 11.35 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007917/0.5844, allocations: 291.3 kB / 0.8191 GB, free: 11.07 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 (81): * Single equations (assignments): 78 * 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.001368/0.5858, allocations: 0.5961 MB / 0.8197 GB, free: 10.65 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001411/0.5872, allocations: 0.7555 MB / 0.8205 GB, free: 9.879 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5872, allocations: 0 / 0.8205 GB, free: 9.879 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0008184/0.5881, allocations: 484.3 kB / 0.8209 GB, free: 9.395 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/0.5892, allocations: 262.8 kB / 0.8212 GB, free: 9.141 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003973/0.5932, allocations: 2.435 MB / 0.8235 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005578/0.5938, allocations: 1.015 MB / 0.8245 GB, free: 5.617 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007438/0.5945, allocations: 242 kB / 0.8248 GB, free: 5.379 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002189/0.5947, allocations: 99.39 kB / 0.8249 GB, free: 5.285 MB / 0.5573 GB Notification: Performance of SimCode: time 3.81e-07/0.5947, allocations: 4 kB / 0.8249 GB, free: 5.281 MB / 0.5573 GB Notification: Performance of Templates: time 0.02089/0.6156, allocations: 13.44 MB / 0.838 GB, free: 7.957 MB / 0.573 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)