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/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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007442/0.007442, allocations: 102 kB / 15.73 MB, free: 6.051 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.00142/0.00142, allocations: 191.5 kB / 16.67 MB, free: 5.965 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.445/1.445, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9024/0.9024, allocations: 132.2 MB / 422.7 MB, free: 6.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 71.2 kB / 0.5813 GB, free: 23.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1886, allocations: 80.21 MB / 0.6597 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006642/0.1953, allocations: 4.114 MB / 0.6637 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6253/0.8207, allocations: 150.5 MB / 0.8106 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008446/0.8215, allocations: 15.22 kB / 0.8106 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006111/0.8222, allocations: 166 kB / 0.8108 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001667/0.8239, allocations: 489.4 kB / 0.8113 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00177/0.8257, allocations: 0.7887 MB / 0.812 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001088/0.8268, allocations: 1.195 MB / 0.8132 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008039/0.8276, allocations: 0.6086 MB / 0.8138 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005865/0.8282, allocations: 434.2 kB / 0.8142 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000491/0.8287, allocations: 449.2 kB / 0.8146 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001491/0.8288, allocations: 102.2 kB / 0.8147 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000911/0.8298, allocations: 487.8 kB / 0.8152 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002445/0.83, allocations: 266.1 kB / 0.8155 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003982/0.8304, allocations: 0.4926 MB / 0.8159 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001592/0.832, allocations: 1.477 MB / 0.8174 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.832, allocations: 0 / 0.8174 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.024e-06/0.8321, allocations: 0 / 0.8174 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.4e-05/0.8321, allocations: 0 / 0.8174 GB, free: 10.07 MB / 0.5919 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.002185/0.8343, allocations: 1.317 MB / 0.8187 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.8343, allocations: 10.91 kB / 0.8187 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000871/0.8352, allocations: 181.5 kB / 0.8188 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.8364, allocations: 0.7274 MB / 0.8196 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.902e-05/0.8364, allocations: 58.97 kB / 0.8196 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-05/0.8365, allocations: 78.28 kB / 0.8197 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/0.838, allocations: 0.8683 MB / 0.8205 GB, free: 7.918 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.838, allocations: 0 / 0.8205 GB, free: 7.918 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.688e-05/0.8381, allocations: 30.88 kB / 0.8206 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.926e-05/0.8381, allocations: 24.78 kB / 0.8206 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001646/0.8397, allocations: 1.058 MB / 0.8216 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003625/0.8434, allocations: 2.351 MB / 0.8239 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001318/0.8447, allocations: 0.7925 MB / 0.8247 GB, free: 5.145 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004747/0.8452, allocations: 274.4 kB / 0.825 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.205e-05/0.8453, allocations: 29.09 kB / 0.825 GB, free: 5 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007391/0.846, allocations: 426.7 kB / 0.8254 GB, free: 4.727 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=72): time 2.545e-06/0.8461, allocations: 0 / 0.8254 GB, free: 4.727 MB / 0.5919 GB Notification: Performance of matching and sorting (n=72): time 0.002941/0.849, allocations: 1.069 MB / 0.8264 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/0.8492, allocations: 191.4 kB / 0.8266 GB, free: 3.918 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008332/0.85, allocations: 0.5938 MB / 0.8272 GB, free: 3.566 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.772e-05/0.8501, allocations: 42.02 kB / 0.8272 GB, free: 3.523 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002839/0.8504, allocations: 370.3 kB / 0.8276 GB, free: 3.199 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001866/0.8506, allocations: 243.3 kB / 0.8278 GB, free: 2.996 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002262/0.8508, allocations: 150.5 kB / 0.828 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.851, allocations: 377.2 kB / 0.8283 GB, free: 2.543 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004375/0.8514, allocations: 240.5 kB / 0.8286 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005347/0.8519, allocations: 330 kB / 0.8289 GB, free: 2.23 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009506/0.8529, allocations: 0.5506 MB / 0.8294 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.8529, allocations: 0 / 0.8294 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001739/0.8547, allocations: 0.7651 MB / 0.8302 GB, free: 1.543 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.8547, allocations: 5.531 kB / 0.8302 GB, free: 1.543 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.8547, allocations: 0 / 0.8302 GB, free: 1.543 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005888/0.8553, allocations: 89.62 kB / 0.8302 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005838/0.8559, allocations: 148.2 kB / 0.8304 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002042/0.8579, allocations: 1.628 MB / 0.832 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006111/0.8586, allocations: 81.16 kB / 0.8321 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.568e-05/0.8586, allocations: 36.59 kB / 0.8321 GB, free: 15.79 MB / 0.6075 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.0004018/0.8591, allocations: 255.6 kB / 0.8323 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.8592, allocations: 78.25 kB / 0.8324 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002149/0.8614, allocations: 0.9956 MB / 0.8334 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.8614, allocations: 10.28 kB / 0.8334 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.8614, allocations: 3.938 kB / 0.8334 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.8614, allocations: 3.984 kB / 0.8334 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003186/0.8646, allocations: 1.849 MB / 0.8352 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.8646, allocations: 0 / 0.8352 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005442/0.8652, allocations: 152.4 kB / 0.8353 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004249/0.8656, allocations: 68.06 kB / 0.8354 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.752e-05/0.8657, allocations: 23.73 kB / 0.8354 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001998/0.8677, allocations: 1.663 MB / 0.8371 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.758e-06/0.8677, allocations: 3.984 kB / 0.8371 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001812/0.8695, allocations: 0.9072 MB / 0.8379 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003734/0.8699, allocations: 266.3 kB / 0.8382 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.991e-05/0.87, allocations: 20.47 kB / 0.8382 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005191/0.8705, allocations: 50.88 kB / 0.8383 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.8707, allocations: 59.3 kB / 0.8383 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.438e-05/0.8708, allocations: 28.05 kB / 0.8384 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005583/0.8713, allocations: 429.6 kB / 0.8388 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.21e-07/0.8713, allocations: 4 kB / 0.8388 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009053/0.8722, allocations: 294.2 kB / 0.839 GB, free: 10.87 MB / 0.6075 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.001378/0.8736, allocations: 0.6003 MB / 0.8396 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001778/0.8754, allocations: 0.7643 MB / 0.8404 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.8754, allocations: 0 / 0.8404 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008964/0.8763, allocations: 489.5 kB / 0.8408 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.8775, allocations: 281.6 kB / 0.8411 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003833/0.8813, allocations: 1.641 MB / 0.8427 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006659/0.882, allocations: 1.004 MB / 0.8437 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008476/0.8829, allocations: 254.1 kB / 0.8439 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002363/0.8831, allocations: 99.33 kB / 0.844 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of SimCode: time 1.072e-06/0.8831, allocations: 0 / 0.844 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of Templates: time 0.02837/0.9115, allocations: 13.94 MB / 0.8577 GB, free: 9.762 MB / 0.6231 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)