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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005489/0.005489, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001307/0.001308, allocations: 197.6 kB / 16.68 MB, free: 5.969 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8338/0.8338, allocations: 135.6 MB / 426.1 MB, free: 3.719 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 63.31 kB / 0.5862 GB, free: 21.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1877, allocations: 81.02 MB / 0.6653 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.00716/0.1949, allocations: 4.079 MB / 0.6693 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.7408/0.9357, allocations: 150.5 MB / 0.8162 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001232/0.937, allocations: 18.88 kB / 0.8162 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006801/0.9378, allocations: 163.7 kB / 0.8164 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002062/0.9398, allocations: 474.8 kB / 0.8169 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002318/0.9422, allocations: 0.8023 MB / 0.8176 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001794/0.944, allocations: 1.173 MB / 0.8188 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009547/0.9449, allocations: 0.612 MB / 0.8194 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007858/0.9457, allocations: 424.8 kB / 0.8198 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005469/0.9463, allocations: 445.3 kB / 0.8202 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001326/0.9464, allocations: 102.8 kB / 0.8203 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001123/0.9476, allocations: 478.2 kB / 0.8208 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002886/0.9479, allocations: 265.7 kB / 0.821 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004999/0.9484, allocations: 499.4 kB / 0.8215 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002201/0.9506, allocations: 1.502 MB / 0.823 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.9506, allocations: 2.281 kB / 0.823 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.944e-06/0.9506, allocations: 0 / 0.823 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.356e-05/0.9506, allocations: 0 / 0.823 GB, free: 4.797 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002404/0.953, allocations: 1.341 MB / 0.8243 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.9531, allocations: 12.7 kB / 0.8243 GB, free: 3.711 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009163/0.954, allocations: 184.9 kB / 0.8245 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.9552, allocations: 0.7224 MB / 0.8252 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.906e-05/0.9553, allocations: 56.31 kB / 0.8252 GB, free: 2.996 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.829e-05/0.9554, allocations: 78.3 kB / 0.8253 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.9569, allocations: 0.8626 MB / 0.8261 GB, free: 2.402 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.9569, allocations: 2.781 kB / 0.8261 GB, free: 2.402 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-05/0.957, allocations: 30.75 kB / 0.8262 GB, free: 2.379 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.995e-05/0.957, allocations: 20.59 kB / 0.8262 GB, free: 2.379 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001654/0.9587, allocations: 1.057 MB / 0.8272 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003911/0.9626, allocations: 2.357 MB / 0.8295 GB, free: 48 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/0.9641, allocations: 0.7966 MB / 0.8303 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004832/0.9645, allocations: 269.5 kB / 0.8306 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.984e-05/0.9646, allocations: 31.94 kB / 0.8306 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007809/0.9654, allocations: 426.8 kB / 0.831 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=70): time 3.056e-06/0.9654, allocations: 0 / 0.831 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of matching and sorting (n=70): time 0.003243/0.9687, allocations: 1.07 MB / 0.832 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000207/0.9689, allocations: 192.2 kB / 0.8322 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.97, allocations: 0.5864 MB / 0.8328 GB, free: 14 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.8e-05/0.97, allocations: 39.33 kB / 0.8328 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000418/0.9705, allocations: 367.5 kB / 0.8332 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002891/0.9708, allocations: 248 kB / 0.8334 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00027/0.971, allocations: 146.5 kB / 0.8336 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002438/0.9713, allocations: 380.9 kB / 0.8339 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004857/0.9718, allocations: 235.9 kB / 0.8341 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006049/0.9724, allocations: 333.4 kB / 0.8345 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.9735, allocations: 0.5377 MB / 0.835 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.9735, allocations: 3.844 kB / 0.835 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001916/0.9754, allocations: 0.7668 MB / 0.8357 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.9755, allocations: 9.438 kB / 0.8358 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-06/0.9755, allocations: 0 / 0.8358 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005976/0.9761, allocations: 77.91 kB / 0.8358 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000597/0.9767, allocations: 149.1 kB / 0.836 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00252/0.9792, allocations: 1.649 MB / 0.8376 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007681/0.98, allocations: 72.41 kB / 0.8376 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.262e-05/0.9801, allocations: 33.59 kB / 0.8377 GB, free: 10.21 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 (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.000595/0.9807, allocations: 251.2 kB / 0.8379 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/0.9809, allocations: 74.81 kB / 0.838 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002444/0.9833, allocations: 0.9683 MB / 0.8389 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.9833, allocations: 7.531 kB / 0.8389 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.9834, allocations: 7.984 kB / 0.839 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.9834, allocations: 3.984 kB / 0.839 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003293/0.9867, allocations: 1.831 MB / 0.8407 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.9867, allocations: 0 / 0.8407 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005237/0.9872, allocations: 137.2 kB / 0.8409 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004601/0.9877, allocations: 75.97 kB / 0.8409 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.288e-05/0.9878, allocations: 23.36 kB / 0.841 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0023/0.9901, allocations: 1.671 MB / 0.8426 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.9901, allocations: 0 / 0.8426 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002113/0.9922, allocations: 0.9027 MB / 0.8435 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004519/0.9927, allocations: 255 kB / 0.8437 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.9928, allocations: 21 kB / 0.8437 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005274/0.9933, allocations: 52.62 kB / 0.8438 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/0.9935, allocations: 56.86 kB / 0.8438 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.303e-05/0.9936, allocations: 31.81 kB / 0.8439 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006507/0.9942, allocations: 432.1 kB / 0.8443 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9942, allocations: 0 / 0.8443 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009977/0.9952, allocations: 285.8 kB / 0.8446 GB, free: 5.281 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 (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.002077/0.9973, allocations: 0.601 MB / 0.8452 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001866/0.9992, allocations: 0.7458 MB / 0.8459 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 9.918e-06/0.9992, allocations: 0 / 0.8459 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009702/1, allocations: 492.5 kB / 0.8463 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001342/1.002, allocations: 281 kB / 0.8466 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004216/1.006, allocations: 1.647 MB / 0.8482 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008202/1.007, allocations: 0.9914 MB / 0.8492 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009283/1.008, allocations: 246 kB / 0.8494 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002542/1.008, allocations: 95.33 kB / 0.8495 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of SimCode: time 1.954e-06/1.008, allocations: 0 / 0.8495 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of Templates: time 0.02781/1.036, allocations: 13.8 MB / 0.863 GB, free: 3.363 MB / 0.6231 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)