Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 183.2 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.7065/0.7065, allocations: 133.3 MB / 150.1 MB, free: 11.19 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.331/1.331, allocations: 222.9 MB / 404.7 MB, free: 6.125 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.001007/0.001007, allocations: 115.4 kB / 485.9 MB, free: 7.281 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009776/0.0009776, allocations: 55.91 kB / 0.5636 GB, free: 69.96 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1167, allocations: 80.42 MB / 0.6421 GB, free: 5.477 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005365/0.1221, allocations: 4.198 MB / 0.6462 GB, free: 1.258 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.4019/0.5241, allocations: 148.3 MB / 0.7911 GB, free: 8.609 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007618/0.5249, allocations: 15.94 kB / 0.7911 GB, free: 8.594 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005112/0.5255, allocations: 137.8 kB / 0.7912 GB, free: 8.461 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.00148/0.5269, allocations: 411.5 kB / 0.7916 GB, free: 8.074 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001723/0.5287, allocations: 0.6931 MB / 0.7923 GB, free: 7.41 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001243/0.5299, allocations: 1.131 MB / 0.7934 GB, free: 6.277 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007958/0.5307, allocations: 0.5987 MB / 0.794 GB, free: 5.656 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005036/0.5312, allocations: 394.3 kB / 0.7944 GB, free: 5.27 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004472/0.5317, allocations: 433.9 kB / 0.7948 GB, free: 4.844 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.5318, allocations: 52 kB / 0.7948 GB, free: 4.793 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007605/0.5326, allocations: 398 kB / 0.7952 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.000232/0.5328, allocations: 223.1 kB / 0.7954 GB, free: 4.188 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003822/0.5332, allocations: 465.2 kB / 0.7959 GB, free: 3.73 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.00136/0.5346, allocations: 1.418 MB / 0.7972 GB, free: 2.309 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.5346, allocations: 0 / 0.7972 GB, free: 2.309 MB / 0.5261 GB Notification: Performance of FrontEnd: time 8.01e-07/0.5346, allocations: 0 / 0.7972 GB, free: 2.309 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.156e-05/0.5346, allocations: 0 / 0.7972 GB, free: 2.309 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.00219/0.5368, allocations: 1.342 MB / 0.7986 GB, free: 0.918 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.5369, allocations: 8.031 kB / 0.7986 GB, free: 0.9102 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008737/0.5378, allocations: 178.7 kB / 0.7987 GB, free: 0.7383 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.5388, allocations: 0.7153 MB / 0.7994 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.655e-05/0.5389, allocations: 65.98 kB / 0.7995 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.719e-05/0.539, allocations: 80 kB / 0.7996 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.5404, allocations: 0.8833 MB / 0.8004 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.5404, allocations: 0 / 0.8004 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.573e-05/0.5405, allocations: 32 kB / 0.8005 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/0.5405, allocations: 23.66 kB / 0.8005 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001708/0.5422, allocations: 1.104 MB / 0.8016 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003904/0.5461, allocations: 2.496 MB / 0.804 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001276/0.5474, allocations: 0.7399 MB / 0.8047 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004915/0.548, allocations: 278.7 kB / 0.805 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 8.408e-05/0.548, allocations: 36.59 kB / 0.805 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008501/0.5489, allocations: 447.2 kB / 0.8055 GB, free: 9.676 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=76): time 4.108e-06/0.5489, allocations: 0 / 0.8055 GB, free: 9.676 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76): time 0.003094/0.552, allocations: 1.116 MB / 0.8065 GB, free: 8.535 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.352e-05/0.5521, allocations: 188.6 kB / 0.8067 GB, free: 8.309 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000806/0.5529, allocations: 0.6018 MB / 0.8073 GB, free: 7.703 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.472e-05/0.553, allocations: 41.7 kB / 0.8074 GB, free: 7.656 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003096/0.5533, allocations: 380.3 kB / 0.8077 GB, free: 7.277 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000214/0.5536, allocations: 256.3 kB / 0.808 GB, free: 7.023 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002309/0.5538, allocations: 158.5 kB / 0.8081 GB, free: 6.859 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.554, allocations: 378.8 kB / 0.8085 GB, free: 6.48 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000486/0.5545, allocations: 253.9 kB / 0.8087 GB, free: 6.234 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005762/0.5551, allocations: 347 kB / 0.809 GB, free: 5.879 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.5561, allocations: 0.5838 MB / 0.8096 GB, free: 5.281 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.5561, allocations: 0 / 0.8096 GB, free: 5.281 MB / 0.5417 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001858/0.558, allocations: 0.8176 MB / 0.8104 GB, free: 4.457 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.558, allocations: 8 kB / 0.8104 GB, free: 4.449 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.558, allocations: 0 / 0.8104 GB, free: 4.449 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006047/0.5586, allocations: 84.77 kB / 0.8105 GB, free: 4.363 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006662/0.5593, allocations: 158.1 kB / 0.8107 GB, free: 4.211 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002114/0.5614, allocations: 1.521 MB / 0.8121 GB, free: 2.551 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006623/0.5621, allocations: 91.33 kB / 0.8122 GB, free: 2.461 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.844e-05/0.5622, allocations: 31.98 kB / 0.8123 GB, free: 2.43 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 (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.0005117/0.5627, allocations: 259 kB / 0.8125 GB, free: 2.168 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001627/0.5629, allocations: 75.06 kB / 0.8126 GB, free: 2.094 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002358/0.5652, allocations: 1.027 MB / 0.8136 GB, free: 1.055 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.5653, allocations: 12 kB / 0.8136 GB, free: 1.043 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.5653, allocations: 0 / 0.8136 GB, free: 1.043 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.918e-06/0.5653, allocations: 8.078 kB / 0.8136 GB, free: 1.035 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003136/0.5684, allocations: 1.88 MB / 0.8154 GB, free: 15.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.5685, allocations: 0 / 0.8154 GB, free: 15.09 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005957/0.5691, allocations: 147.8 kB / 0.8156 GB, free: 14.95 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005218/0.5696, allocations: 84.77 kB / 0.8157 GB, free: 14.86 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.543e-05/0.5697, allocations: 27.92 kB / 0.8157 GB, free: 14.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001796/0.5715, allocations: 1.547 MB / 0.8172 GB, free: 13.16 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.5715, allocations: 0 / 0.8172 GB, free: 13.16 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002851/0.5743, allocations: 1.939 MB / 0.8191 GB, free: 11.16 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003615/0.5747, allocations: 259.8 kB / 0.8193 GB, free: 10.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.5748, allocations: 23.84 kB / 0.8194 GB, free: 10.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005738/0.5754, allocations: 57.19 kB / 0.8194 GB, free: 10.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.5756, allocations: 64.91 kB / 0.8195 GB, free: 10.74 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.54e-05/0.5756, allocations: 31.98 kB / 0.8195 GB, free: 10.71 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005217/0.5762, allocations: 435 kB / 0.8199 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2e-07/0.5762, allocations: 4 kB / 0.8199 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0008788/0.5771, allocations: 295.3 kB / 0.8202 GB, free: 9.996 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 (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.001253/0.5783, allocations: 0.6076 MB / 0.8208 GB, free: 9.566 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001522/0.5798, allocations: 0.781 MB / 0.8216 GB, free: 8.777 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.5799, allocations: 4.188 kB / 0.8216 GB, free: 8.773 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000906/0.5808, allocations: 0.4962 MB / 0.822 GB, free: 8.266 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/0.5819, allocations: 263.2 kB / 0.8223 GB, free: 8.016 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004146/0.5861, allocations: 2.523 MB / 0.8248 GB, free: 5.445 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005542/0.5867, allocations: 1.031 MB / 0.8258 GB, free: 4.387 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007657/0.5874, allocations: 258.2 kB / 0.826 GB, free: 4.129 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000247/0.5877, allocations: 99.39 kB / 0.8261 GB, free: 4.035 MB / 0.5573 GB Notification: Performance of SimCode: time 3.5e-07/0.5877, allocations: 3.938 kB / 0.8261 GB, free: 4.031 MB / 0.5573 GB Notification: Performance of Templates: time 0.02155/0.6093, allocations: 13.93 MB / 0.8397 GB, free: 6.211 MB / 0.573 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)