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.004171/0.004171, allocations: 102.7 kB / 15.74 MB, free: 6.449 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.0009467/0.0009466, allocations: 199.1 kB / 16.68 MB, free: 6.352 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 4.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7733/0.7733, allocations: 132.2 MB / 422.7 MB, free: 1.656 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 55.91 kB / 0.5813 GB, free: 7.559 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4901/0.4913, allocations: 80.22 MB / 0.6597 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005107/0.4965, allocations: 4.105 MB / 0.6637 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1711/0.6676, allocations: 150.5 MB / 0.8106 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008673/0.6685, allocations: 15.94 kB / 0.8106 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005446/0.6691, allocations: 166.4 kB / 0.8108 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001458/0.6706, allocations: 481.5 kB / 0.8113 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001785/0.6724, allocations: 0.7859 MB / 0.812 GB, free: 9.633 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001019/0.6734, allocations: 1.192 MB / 0.8132 GB, free: 8.438 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007578/0.6742, allocations: 0.6132 MB / 0.8138 GB, free: 7.812 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004513/0.6746, allocations: 434.4 kB / 0.8142 GB, free: 7.387 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004358/0.6751, allocations: 450 kB / 0.8146 GB, free: 6.945 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001299/0.6752, allocations: 104 kB / 0.8147 GB, free: 6.844 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008163/0.6761, allocations: 471.6 kB / 0.8152 GB, free: 6.383 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002513/0.6763, allocations: 275.1 kB / 0.8154 GB, free: 6.113 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003683/0.6767, allocations: 497.3 kB / 0.8159 GB, free: 5.625 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001571/0.6783, allocations: 1.487 MB / 0.8174 GB, free: 4.133 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.6783, allocations: 0 / 0.8174 GB, free: 4.133 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6783, allocations: 0 / 0.8174 GB, free: 4.133 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.6783, allocations: 0 / 0.8174 GB, free: 4.133 MB / 0.6387 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.001908/0.6802, allocations: 1.36 MB / 0.8187 GB, free: 2.719 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.6803, allocations: 8.031 kB / 0.8187 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008144/0.6811, allocations: 180.1 kB / 0.8189 GB, free: 2.535 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009741/0.6821, allocations: 0.735 MB / 0.8196 GB, free: 1.758 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.4e-05/0.6821, allocations: 62 kB / 0.8197 GB, free: 1.699 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-05/0.6822, allocations: 76 kB / 0.8197 GB, free: 1.625 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/0.6835, allocations: 0.8637 MB / 0.8206 GB, free: 0.7188 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.6835, allocations: 0 / 0.8206 GB, free: 0.7188 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.007e-05/0.6836, allocations: 32 kB / 0.8206 GB, free: 0.6875 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/0.6836, allocations: 24 kB / 0.8206 GB, free: 0.6641 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001547/0.6852, allocations: 1.065 MB / 0.8217 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003159/0.6884, allocations: 2.352 MB / 0.824 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/0.6896, allocations: 0.7935 MB / 0.8247 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004515/0.6901, allocations: 281.4 kB / 0.825 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.229e-05/0.6901, allocations: 32.59 kB / 0.825 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000684/0.6908, allocations: 415.2 kB / 0.8254 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=72): time 1.924e-06/0.6908, allocations: 4 kB / 0.8254 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of matching and sorting (n=72): time 0.002628/0.6935, allocations: 1.078 MB / 0.8265 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.273e-05/0.6936, allocations: 196.6 kB / 0.8267 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006239/0.6942, allocations: 0.5861 MB / 0.8273 GB, free: 9.703 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.572e-05/0.6943, allocations: 41.7 kB / 0.8273 GB, free: 9.656 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002458/0.6945, allocations: 373 kB / 0.8276 GB, free: 9.285 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001639/0.6947, allocations: 253.9 kB / 0.8279 GB, free: 9.035 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002112/0.6949, allocations: 150.6 kB / 0.828 GB, free: 8.883 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.6951, allocations: 378.8 kB / 0.8284 GB, free: 8.504 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004279/0.6955, allocations: 241.8 kB / 0.8286 GB, free: 8.266 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005198/0.6961, allocations: 330.7 kB / 0.8289 GB, free: 7.93 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.6971, allocations: 0.5472 MB / 0.8295 GB, free: 7.371 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/0.6971, allocations: 3.938 kB / 0.8295 GB, free: 7.367 MB / 0.6544 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001807/0.6989, allocations: 0.7631 MB / 0.8302 GB, free: 6.594 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/0.699, allocations: 8 kB / 0.8302 GB, free: 6.586 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.699, allocations: 0 / 0.8302 GB, free: 6.586 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006115/0.6996, allocations: 84.86 kB / 0.8303 GB, free: 6.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006451/0.7002, allocations: 147.8 kB / 0.8305 GB, free: 6.355 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002354/0.7026, allocations: 1.637 MB / 0.8321 GB, free: 4.574 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006836/0.7033, allocations: 71.58 kB / 0.8321 GB, free: 4.504 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.779e-05/0.7034, allocations: 35.97 kB / 0.8322 GB, free: 4.469 MB / 0.6544 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.0004796/0.7039, allocations: 258.6 kB / 0.8324 GB, free: 4.207 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/0.704, allocations: 83.42 kB / 0.8325 GB, free: 4.125 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002114/0.7062, allocations: 1.002 MB / 0.8335 GB, free: 3.109 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.7062, allocations: 8 kB / 0.8335 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.7062, allocations: 4 kB / 0.8335 GB, free: 3.098 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.7062, allocations: 3.984 kB / 0.8335 GB, free: 3.094 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002905/0.7091, allocations: 1.854 MB / 0.8353 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.7091, allocations: 0 / 0.8353 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005169/0.7097, allocations: 151.8 kB / 0.8354 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004079/0.7101, allocations: 68.78 kB / 0.8355 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-05/0.7101, allocations: 23.98 kB / 0.8355 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001744/0.7119, allocations: 1.654 MB / 0.8371 GB, free: 15.14 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.7119, allocations: 3.938 kB / 0.8371 GB, free: 15.13 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/0.7135, allocations: 0.9165 MB / 0.838 GB, free: 14.2 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002898/0.7138, allocations: 260.2 kB / 0.8383 GB, free: 13.92 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.358e-05/0.7139, allocations: 16 kB / 0.8383 GB, free: 13.91 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005044/0.7145, allocations: 56.08 kB / 0.8383 GB, free: 13.85 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.7146, allocations: 64.89 kB / 0.8384 GB, free: 13.79 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.448e-05/0.7147, allocations: 36.05 kB / 0.8384 GB, free: 13.75 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005016/0.7152, allocations: 423.1 kB / 0.8388 GB, free: 13.35 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7152, allocations: 4 kB / 0.8389 GB, free: 13.34 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007933/0.716, allocations: 295.2 kB / 0.8391 GB, free: 13.05 MB / 0.67 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.001263/0.7172, allocations: 0.6021 MB / 0.8397 GB, free: 12.66 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001458/0.7187, allocations: 0.7591 MB / 0.8405 GB, free: 11.89 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.7187, allocations: 0 / 0.8405 GB, free: 11.89 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008128/0.7195, allocations: 492.2 kB / 0.8409 GB, free: 11.39 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.7207, allocations: 289.2 kB / 0.8412 GB, free: 11.14 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003363/0.724, allocations: 1.667 MB / 0.8428 GB, free: 9.438 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005633/0.7246, allocations: 1.007 MB / 0.8438 GB, free: 8.406 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006703/0.7253, allocations: 253.5 kB / 0.8441 GB, free: 8.16 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000225/0.7255, allocations: 99.39 kB / 0.8442 GB, free: 8.062 MB / 0.67 GB Notification: Performance of SimCode: time 2.61e-07/0.7255, allocations: 0 / 0.8442 GB, free: 8.062 MB / 0.67 GB Notification: Performance of Templates: time 0.0204/0.7459, allocations: 13.94 MB / 0.8578 GB, free: 10.29 MB / 0.6856 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)