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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001229/0.001229, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.304/1.304, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7629/0.7629, allocations: 132.2 MB / 423.3 MB, free: 6.629 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.00125, allocations: 67.89 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3196, allocations: 80.18 MB / 0.5815 GB, free: 27.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004675/0.3244, allocations: 4.049 MB / 0.5854 GB, free: 24.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1464/0.4708, allocations: 150.4 MB / 0.7324 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009146/0.4717, allocations: 19.88 kB / 0.7324 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008154/0.4726, allocations: 158.5 kB / 0.7325 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001965/0.4746, allocations: 484.6 kB / 0.733 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00199/0.4766, allocations: 0.7793 MB / 0.7337 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0014/0.478, allocations: 1.149 MB / 0.7349 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007955/0.4788, allocations: 0.6037 MB / 0.7355 GB, free: 12 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004902/0.4793, allocations: 414.5 kB / 0.7359 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004405/0.4798, allocations: 441.9 kB / 0.7363 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001153/0.4799, allocations: 100 kB / 0.7364 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007983/0.4807, allocations: 471.6 kB / 0.7368 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002276/0.4809, allocations: 259.2 kB / 0.7371 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003861/0.4813, allocations: 497.3 kB / 0.7375 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001413/0.4828, allocations: 1.452 MB / 0.739 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.4828, allocations: 0 / 0.739 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.776e-06/0.4828, allocations: 0 / 0.739 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.362e-05/0.4828, allocations: 7.938 kB / 0.739 GB, free: 12.41 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.001967/0.4848, allocations: 1.291 MB / 0.7402 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.4848, allocations: 12.03 kB / 0.7402 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008322/0.4857, allocations: 171.5 kB / 0.7404 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.4868, allocations: 0.7189 MB / 0.7411 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.367e-05/0.4868, allocations: 62 kB / 0.7412 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.111e-05/0.4869, allocations: 72 kB / 0.7412 GB, free: 10 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/0.4882, allocations: 0.8403 MB / 0.7421 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.4882, allocations: 0 / 0.7421 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-05/0.4883, allocations: 36 kB / 0.7421 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/0.4883, allocations: 20 kB / 0.7421 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001549/0.4899, allocations: 1.046 MB / 0.7431 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003352/0.4932, allocations: 2.301 MB / 0.7454 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00129/0.4945, allocations: 0.7811 MB / 0.7461 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004617/0.495, allocations: 262.4 kB / 0.7464 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.649e-05/0.4951, allocations: 32.59 kB / 0.7464 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006886/0.4958, allocations: 417.7 kB / 0.7468 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.174e-06/0.4958, allocations: 0 / 0.7468 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70): time 0.002838/0.4986, allocations: 1.05 MB / 0.7478 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/0.4988, allocations: 192.5 kB / 0.748 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007353/0.4995, allocations: 0.5821 MB / 0.7486 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.034e-05/0.4996, allocations: 41.7 kB / 0.7486 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002857/0.4999, allocations: 360.4 kB / 0.749 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001809/0.5001, allocations: 232.6 kB / 0.7492 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002222/0.5003, allocations: 150.5 kB / 0.7493 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.5005, allocations: 374.8 kB / 0.7497 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004387/0.5009, allocations: 229.9 kB / 0.7499 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005307/0.5014, allocations: 322.7 kB / 0.7502 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2398/0.7413, allocations: 0.5388 MB / 0.7508 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-06/0.7413, allocations: 0 / 0.7508 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002771/0.7441, allocations: 0.7524 MB / 0.7515 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.906e-05/0.7442, allocations: 8.969 kB / 0.7515 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.7442, allocations: 1.219 kB / 0.7515 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007286/0.7449, allocations: 83.19 kB / 0.7516 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006832/0.7456, allocations: 142.6 kB / 0.7517 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001861/0.7475, allocations: 1.626 MB / 0.7533 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007199/0.7482, allocations: 77.48 kB / 0.7534 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/0.7483, allocations: 31.86 kB / 0.7534 GB, free: 165.3 MB / 0.5762 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.0004881/0.7488, allocations: 255.7 kB / 0.7537 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002685/0.7491, allocations: 77.38 kB / 0.7537 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002281/0.7514, allocations: 0.9483 MB / 0.7547 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.7514, allocations: 8.906 kB / 0.7547 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.7514, allocations: 4.828 kB / 0.7547 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.7514, allocations: 5.797 kB / 0.7547 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003306/0.7548, allocations: 1.788 MB / 0.7564 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.7548, allocations: 0.8125 kB / 0.7564 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005637/0.7554, allocations: 134.9 kB / 0.7565 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004353/0.7558, allocations: 71.94 kB / 0.7566 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.442e-05/0.7559, allocations: 29.8 kB / 0.7566 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00154/0.7574, allocations: 1.655 MB / 0.7583 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.7574, allocations: 0.5625 kB / 0.7583 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00189/0.7593, allocations: 0.8887 MB / 0.7591 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003416/0.7597, allocations: 248.9 kB / 0.7594 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.7598, allocations: 16.78 kB / 0.7594 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005551/0.7604, allocations: 54.31 kB / 0.7594 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.7605, allocations: 63 kB / 0.7595 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.099e-05/0.7606, allocations: 29.09 kB / 0.7595 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005814/0.7612, allocations: 419.6 kB / 0.7599 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7612, allocations: 0 / 0.7599 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008709/0.7621, allocations: 286.4 kB / 0.7602 GB, free: 161.4 MB / 0.5762 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.001274/0.7633, allocations: 0.5982 MB / 0.7608 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001362/0.7647, allocations: 0.7458 MB / 0.7615 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.7647, allocations: 1.188 kB / 0.7615 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007289/0.7655, allocations: 473 kB / 0.762 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.7665, allocations: 289.6 kB / 0.7622 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003127/0.7696, allocations: 1.601 MB / 0.7638 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000394/0.7701, allocations: 0.9946 MB / 0.7648 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006621/0.7707, allocations: 253.1 kB / 0.765 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002142/0.7709, allocations: 91.48 kB / 0.7651 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of SimCode: time 2.21e-07/0.771, allocations: 5.125 kB / 0.7651 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.01786/0.7888, allocations: 13.47 MB / 0.7783 GB, free: 147.1 MB / 0.5762 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)