Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001178, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.202/1.202, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.669/0.669, allocations: 132.2 MB / 422.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 67.52 kB / 0.5018 GB, free: 3.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3559, allocations: 80.2 MB / 0.5801 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005091/0.361, allocations: 4.18 MB / 0.5842 GB, free: 1.582 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1463/0.5073, allocations: 150.6 MB / 0.7313 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008581/0.5082, allocations: 19.94 kB / 0.7313 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006656/0.5089, allocations: 170.4 kB / 0.7315 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002003/0.511, allocations: 491.2 kB / 0.7319 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002276/0.5132, allocations: 0.7892 MB / 0.7327 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001394/0.5146, allocations: 1.203 MB / 0.7339 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009442/0.5156, allocations: 0.6255 MB / 0.7345 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007083/0.5163, allocations: 446.4 kB / 0.7349 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006331/0.517, allocations: 461.9 kB / 0.7353 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000206/0.5172, allocations: 108 kB / 0.7355 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009322/0.5181, allocations: 447.6 kB / 0.7359 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002712/0.5184, allocations: 271.1 kB / 0.7361 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005517/0.519, allocations: 0.5012 MB / 0.7366 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00179/0.5208, allocations: 1.464 MB / 0.7381 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.5208, allocations: 0 / 0.7381 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5208, allocations: 0 / 0.7381 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.426e-05/0.5208, allocations: 0 / 0.7381 GB, free: 15.18 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.002389/0.5232, allocations: 1.342 MB / 0.7394 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.5233, allocations: 8.031 kB / 0.7394 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008633/0.5241, allocations: 179.5 kB / 0.7395 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009745/0.5251, allocations: 0.711 MB / 0.7402 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.679e-05/0.5252, allocations: 62 kB / 0.7403 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.5253, allocations: 76 kB / 0.7404 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.5267, allocations: 0.8949 MB / 0.7412 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.5267, allocations: 0 / 0.7412 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.328e-05/0.5268, allocations: 36 kB / 0.7413 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/0.5268, allocations: 24 kB / 0.7413 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001499/0.5283, allocations: 1.097 MB / 0.7424 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003306/0.5316, allocations: 2.511 MB / 0.7448 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.5328, allocations: 0.7258 MB / 0.7455 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004415/0.5333, allocations: 286.7 kB / 0.7458 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.069e-05/0.5333, allocations: 40.53 kB / 0.7458 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007275/0.5341, allocations: 443.2 kB / 0.7463 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 1.893e-06/0.5341, allocations: 0 / 0.7463 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.002664/0.5368, allocations: 1.12 MB / 0.7474 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.271e-05/0.5368, allocations: 188.6 kB / 0.7475 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005982/0.5375, allocations: 0.6018 MB / 0.7481 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.09e-05/0.5375, allocations: 37.7 kB / 0.7482 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002464/0.5378, allocations: 384.2 kB / 0.7485 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/0.5379, allocations: 252.3 kB / 0.7488 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002039/0.5381, allocations: 162.5 kB / 0.7489 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.5383, allocations: 382.7 kB / 0.7493 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004337/0.5387, allocations: 245.9 kB / 0.7495 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005166/0.5392, allocations: 347.1 kB / 0.7499 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009373/0.5402, allocations: 0.5877 MB / 0.7504 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.5402, allocations: 0 / 0.7504 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001642/0.5418, allocations: 0.8175 MB / 0.7512 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.5419, allocations: 8 kB / 0.7512 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.5419, allocations: 0 / 0.7512 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005397/0.5424, allocations: 80.84 kB / 0.7513 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005777/0.543, allocations: 155.8 kB / 0.7515 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001838/0.5449, allocations: 1.634 MB / 0.7531 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005545/0.5454, allocations: 83.39 kB / 0.7531 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.493e-05/0.5455, allocations: 44.03 kB / 0.7532 GB, free: 15.16 MB / 0.5919 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 (89): * Single equations (assignments): 88 * 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.0003142/0.5458, allocations: 255.2 kB / 0.7534 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.546, allocations: 79.06 kB / 0.7535 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002148/0.5481, allocations: 1.022 MB / 0.7545 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.5481, allocations: 11.94 kB / 0.7545 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.5481, allocations: 0 / 0.7545 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.5482, allocations: 7.922 kB / 0.7545 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002782/0.5509, allocations: 1.88 MB / 0.7564 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.551, allocations: 0 / 0.7564 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005259/0.5515, allocations: 151.8 kB / 0.7565 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004113/0.5519, allocations: 72.78 kB / 0.7566 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.07e-05/0.552, allocations: 19.98 kB / 0.7566 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001717/0.5537, allocations: 1.658 MB / 0.7582 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.762e-06/0.5537, allocations: 3.938 kB / 0.7582 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001675/0.5554, allocations: 0.9296 MB / 0.7591 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002722/0.5557, allocations: 256 kB / 0.7594 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.5558, allocations: 19.91 kB / 0.7594 GB, free: 8.543 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005283/0.5563, allocations: 65.75 kB / 0.7594 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.5565, allocations: 60.86 kB / 0.7595 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.608e-05/0.5565, allocations: 27.98 kB / 0.7595 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004755/0.557, allocations: 447 kB / 0.76 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.557, allocations: 0 / 0.76 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007474/0.5578, allocations: 295.3 kB / 0.7602 GB, free: 7.672 MB / 0.5919 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 (87): * Single equations (assignments): 84 * 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.001197/0.559, allocations: 0.5949 MB / 0.7608 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001968/0.561, allocations: 0.9795 MB / 0.7618 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.561, allocations: 0 / 0.7618 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008154/0.5618, allocations: 0.5003 MB / 0.7623 GB, free: 5.777 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.5629, allocations: 280.9 kB / 0.7625 GB, free: 5.531 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003272/0.5661, allocations: 1.694 MB / 0.7642 GB, free: 3.812 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005285/0.5667, allocations: 1.008 MB / 0.7652 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007038/0.5674, allocations: 254.2 kB / 0.7654 GB, free: 2.52 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002266/0.5676, allocations: 107.4 kB / 0.7655 GB, free: 2.414 MB / 0.5919 GB Notification: Performance of SimCode: time 2.41e-07/0.5676, allocations: 0 / 0.7655 GB, free: 2.414 MB / 0.5919 GB Notification: Performance of Templates: time 0.02112/0.5888, allocations: 14.12 MB / 0.7793 GB, free: 4.496 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)