Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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/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/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.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 182.4 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/package.mo): time 0.7016/0.7016, allocations: 132.2 MB / 148.9 MB, free: 12.16 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.588/1.588, allocations: 222.9 MB / 403.4 MB, free: 7.066 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.001048/0.001048, allocations: 107.7 kB / 484.3 MB, free: 8.711 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001024/0.001024, allocations: 51.92 kB / 0.5618 GB, free: 71.05 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1324, allocations: 80.2 MB / 0.6402 GB, free: 6.777 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005751/0.1382, allocations: 4.063 MB / 0.6441 GB, free: 2.688 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.4513/0.5895, allocations: 148.1 MB / 0.7888 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007002/0.5903, allocations: 15.94 kB / 0.7888 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005144/0.5908, allocations: 130 kB / 0.7889 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001337/0.5922, allocations: 396.2 kB / 0.7893 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001919/0.5941, allocations: 0.6855 MB / 0.79 GB, free: 9.703 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0009363/0.5951, allocations: 1.079 MB / 0.791 GB, free: 8.621 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007426/0.5958, allocations: 0.5795 MB / 0.7916 GB, free: 8.031 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004395/0.5963, allocations: 366.4 kB / 0.7919 GB, free: 7.672 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004088/0.5967, allocations: 402.1 kB / 0.7923 GB, free: 7.277 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 9.327e-05/0.5968, allocations: 48 kB / 0.7924 GB, free: 7.23 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007582/0.5976, allocations: 400.4 kB / 0.7928 GB, free: 6.844 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002307/0.5978, allocations: 211.1 kB / 0.793 GB, free: 6.637 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0004037/0.5982, allocations: 438 kB / 0.7934 GB, free: 6.207 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001403/0.5996, allocations: 1.375 MB / 0.7947 GB, free: 4.828 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.5996, allocations: 0 / 0.7947 GB, free: 4.828 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.042e-06/0.5996, allocations: 0 / 0.7947 GB, free: 4.828 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.5997, allocations: 0 / 0.7947 GB, free: 4.828 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.002386/0.6021, allocations: 1.307 MB / 0.796 GB, free: 3.469 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.6021, allocations: 10.19 kB / 0.796 GB, free: 3.461 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/0.6031, allocations: 175.5 kB / 0.7962 GB, free: 3.289 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.6043, allocations: 0.696 MB / 0.7968 GB, free: 2.551 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.137e-05/0.6044, allocations: 54.69 kB / 0.7969 GB, free: 2.496 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.799e-05/0.6045, allocations: 76 kB / 0.797 GB, free: 2.422 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/0.6059, allocations: 0.8403 MB / 0.7978 GB, free: 1.543 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.6059, allocations: 0 / 0.7978 GB, free: 1.543 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.628e-05/0.606, allocations: 36 kB / 0.7978 GB, free: 1.508 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.188e-05/0.606, allocations: 24 kB / 0.7978 GB, free: 1.484 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001723/0.6077, allocations: 1.05 MB / 0.7989 GB, free: 440 kB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003815/0.6116, allocations: 2.328 MB / 0.8011 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/0.6129, allocations: 0.7707 MB / 0.8019 GB, free: 13.24 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000459/0.6134, allocations: 267.2 kB / 0.8022 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 8.119e-05/0.6135, allocations: 40.56 kB / 0.8022 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007125/0.6142, allocations: 413.6 kB / 0.8026 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=70): time 2.134e-06/0.6142, allocations: 0 / 0.8026 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of matching and sorting (n=70): time 0.00288/0.6171, allocations: 1.05 MB / 0.8036 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.221e-05/0.6172, allocations: 188.5 kB / 0.8038 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006593/0.6179, allocations: 0.5898 MB / 0.8044 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.295e-05/0.618, allocations: 49.45 kB / 0.8044 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002629/0.6182, allocations: 364.4 kB / 0.8048 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/0.6184, allocations: 236.6 kB / 0.805 GB, free: 9.965 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002197/0.6186, allocations: 142.5 kB / 0.8051 GB, free: 9.82 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.6188, allocations: 378.8 kB / 0.8055 GB, free: 9.441 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004463/0.6192, allocations: 225.9 kB / 0.8057 GB, free: 9.223 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005483/0.6198, allocations: 326.8 kB / 0.806 GB, free: 8.891 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009961/0.6208, allocations: 0.5312 MB / 0.8065 GB, free: 8.348 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.6208, allocations: 4 kB / 0.8065 GB, free: 8.344 MB / 0.5417 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001726/0.6225, allocations: 0.751 MB / 0.8073 GB, free: 7.582 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.6226, allocations: 8.875 kB / 0.8073 GB, free: 7.574 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.6226, allocations: 0 / 0.8073 GB, free: 7.574 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005951/0.6232, allocations: 84.86 kB / 0.8074 GB, free: 7.488 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000587/0.6238, allocations: 139.8 kB / 0.8075 GB, free: 7.352 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002017/0.6258, allocations: 1.512 MB / 0.809 GB, free: 5.699 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000592/0.6264, allocations: 79.27 kB / 0.809 GB, free: 5.621 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.309e-05/0.6265, allocations: 35.97 kB / 0.8091 GB, free: 5.586 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 (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.0003705/0.6269, allocations: 250.5 kB / 0.8093 GB, free: 5.332 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.627, allocations: 73.41 kB / 0.8094 GB, free: 5.262 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002129/0.6291, allocations: 0.9548 MB / 0.8103 GB, free: 4.301 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.6291, allocations: 8 kB / 0.8103 GB, free: 4.293 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.6292, allocations: 4 kB / 0.8103 GB, free: 4.289 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/0.6292, allocations: 3.984 kB / 0.8103 GB, free: 4.285 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002852/0.632, allocations: 1.786 MB / 0.8121 GB, free: 2.441 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.632, allocations: 0 / 0.8121 GB, free: 2.441 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005382/0.6326, allocations: 139.8 kB / 0.8122 GB, free: 2.305 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005138/0.6331, allocations: 84.77 kB / 0.8123 GB, free: 2.219 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.805e-05/0.6332, allocations: 19.98 kB / 0.8123 GB, free: 2.199 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001729/0.6349, allocations: 1.55 MB / 0.8138 GB, free: 0.5156 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.6349, allocations: 4.062 kB / 0.8138 GB, free: 0.5117 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002672/0.6376, allocations: 1.877 MB / 0.8157 GB, free: 14.57 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003458/0.638, allocations: 251.8 kB / 0.8159 GB, free: 14.31 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.935e-05/0.6381, allocations: 16 kB / 0.8159 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005324/0.6386, allocations: 57.62 kB / 0.816 GB, free: 14.24 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.6387, allocations: 60.42 kB / 0.816 GB, free: 14.18 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.18e-05/0.6388, allocations: 31.98 kB / 0.8161 GB, free: 14.15 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004965/0.6393, allocations: 423 kB / 0.8165 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.71e-07/0.6393, allocations: 0 / 0.8165 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0009579/0.6403, allocations: 279.4 kB / 0.8167 GB, free: 13.47 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 (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.001377/0.6417, allocations: 0.6168 MB / 0.8173 GB, free: 13.03 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00149/0.6432, allocations: 0.7243 MB / 0.818 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.6432, allocations: 4 kB / 0.818 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007915/0.644, allocations: 484.4 kB / 0.8185 GB, free: 11.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.6452, allocations: 247.9 kB / 0.8187 GB, free: 11.57 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0039/0.6491, allocations: 2.4 MB / 0.8211 GB, free: 9.121 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005158/0.6496, allocations: 1.015 MB / 0.8221 GB, free: 8.078 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007578/0.6504, allocations: 253.9 kB / 0.8223 GB, free: 7.828 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002238/0.6506, allocations: 91.39 kB / 0.8224 GB, free: 7.738 MB / 0.5573 GB Notification: Performance of SimCode: time 4.61e-07/0.6506, allocations: 4 kB / 0.8224 GB, free: 7.734 MB / 0.5573 GB Notification: Performance of Templates: time 0.02199/0.6726, allocations: 13.28 MB / 0.8354 GB, free: 10.57 MB / 0.573 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)