Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001571/0.001571, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001886/0.001886, allocations: 189.5 kB / 16.25 MB, free: 6.633 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.36/1.36, allocations: 222.9 MB / 239.9 MB, free: 4.484 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9712/0.9712, allocations: 135.1 MB / 425.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001426, allocations: 68.52 kB / 0.5049 GB, free: 5.621 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1641, allocations: 80.93 MB / 0.5839 GB, free: 4.867 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005984/0.1701, allocations: 4.049 MB / 0.5878 GB, free: 0.793 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4842/0.6543, allocations: 148.2 MB / 0.7326 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006506/0.655, allocations: 15.41 kB / 0.7326 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005228/0.6555, allocations: 133.4 kB / 0.7327 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001511/0.6571, allocations: 409.8 kB / 0.7331 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002145/0.6592, allocations: 0.7065 MB / 0.7338 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001661/0.6609, allocations: 1.15 MB / 0.7349 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009326/0.6618, allocations: 0.5949 MB / 0.7355 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006076/0.6625, allocations: 421.4 kB / 0.7359 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005108/0.663, allocations: 430.1 kB / 0.7363 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001474/0.6631, allocations: 101.2 kB / 0.7364 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008976/0.664, allocations: 448.6 kB / 0.7368 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002669/0.6643, allocations: 261 kB / 0.7371 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004074/0.6647, allocations: 495.3 kB / 0.7376 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001642/0.6664, allocations: 1.416 MB / 0.739 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.6664, allocations: 4 kB / 0.739 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6664, allocations: 0 / 0.739 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.706e-05/0.6664, allocations: 0 / 0.739 GB, free: 10.77 MB / 0.5606 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.002213/0.6687, allocations: 1.306 MB / 0.7402 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.6687, allocations: 9.625 kB / 0.7402 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009385/0.6696, allocations: 181.6 kB / 0.7404 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009602/0.6706, allocations: 0.6949 MB / 0.7411 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.324e-05/0.6707, allocations: 57.34 kB / 0.7411 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.6708, allocations: 76.97 kB / 0.7412 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/0.6723, allocations: 0.8374 MB / 0.742 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.6723, allocations: 0 / 0.742 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.072e-05/0.6724, allocations: 32.25 kB / 0.7421 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/0.6724, allocations: 19.25 kB / 0.7421 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001578/0.674, allocations: 1.049 MB / 0.7431 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004078/0.6781, allocations: 2.33 MB / 0.7454 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/0.6795, allocations: 0.7757 MB / 0.7461 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004416/0.6799, allocations: 265.9 kB / 0.7464 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.801e-05/0.68, allocations: 30.12 kB / 0.7464 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008303/0.6809, allocations: 420.5 kB / 0.7468 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 3.005e-06/0.6809, allocations: 0 / 0.7468 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70): time 0.003274/0.6842, allocations: 1.057 MB / 0.7479 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/0.6843, allocations: 188.5 kB / 0.748 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008427/0.6851, allocations: 0.586 MB / 0.7486 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.545e-05/0.6852, allocations: 37.7 kB / 0.7486 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003615/0.6856, allocations: 364.4 kB / 0.749 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002019/0.6858, allocations: 232.6 kB / 0.7492 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002204/0.686, allocations: 146.5 kB / 0.7494 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.6862, allocations: 378.8 kB / 0.7497 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004576/0.6867, allocations: 229.9 kB / 0.7499 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005517/0.6873, allocations: 314.8 kB / 0.7502 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009858/0.6883, allocations: 0.5351 MB / 0.7508 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.6883, allocations: 0 / 0.7508 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00188/0.6902, allocations: 0.7587 MB / 0.7515 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.6902, allocations: 4 kB / 0.7515 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.934e-06/0.6902, allocations: 4.094 kB / 0.7515 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006146/0.6908, allocations: 76.78 kB / 0.7516 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006093/0.6914, allocations: 147.8 kB / 0.7517 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002252/0.6937, allocations: 1.632 MB / 0.7533 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006849/0.6944, allocations: 86.48 kB / 0.7534 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.135e-05/0.6945, allocations: 31.97 kB / 0.7534 GB, free: 14.98 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.000464/0.6949, allocations: 245.7 kB / 0.7537 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.6951, allocations: 79.22 kB / 0.7537 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002253/0.6974, allocations: 0.9566 MB / 0.7547 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.6974, allocations: 8 kB / 0.7547 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.6974, allocations: 0 / 0.7547 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.6974, allocations: 3.984 kB / 0.7547 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003086/0.7005, allocations: 1.793 MB / 0.7564 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.7005, allocations: 0 / 0.7564 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005379/0.7011, allocations: 135.8 kB / 0.7566 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004853/0.7016, allocations: 76.78 kB / 0.7566 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.333e-05/0.7016, allocations: 23.92 kB / 0.7567 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001914/0.7036, allocations: 1.646 MB / 0.7583 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.7036, allocations: 0 / 0.7583 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001812/0.7054, allocations: 0.8868 MB / 0.7591 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003396/0.7057, allocations: 247.8 kB / 0.7594 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.7059, allocations: 16 kB / 0.7594 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005628/0.7064, allocations: 61.12 kB / 0.7594 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.7066, allocations: 56.92 kB / 0.7595 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.036e-05/0.7066, allocations: 27.98 kB / 0.7595 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005112/0.7072, allocations: 423 kB / 0.7599 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7072, allocations: 0 / 0.7599 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008409/0.708, allocations: 283.4 kB / 0.7602 GB, free: 7.789 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.001358/0.7094, allocations: 0.6038 MB / 0.7608 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002064/0.7115, allocations: 0.9144 MB / 0.7617 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.7115, allocations: 4 kB / 0.7617 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000837/0.7123, allocations: 484.7 kB / 0.7621 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.7135, allocations: 289.7 kB / 0.7624 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003694/0.7172, allocations: 1.989 MB / 0.7644 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005908/0.7178, allocations: 0.9835 MB / 0.7653 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008722/0.7187, allocations: 253.9 kB / 0.7656 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002518/0.719, allocations: 95.39 kB / 0.7657 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of SimCode: time 1.173e-06/0.719, allocations: 4 kB / 0.7657 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of Templates: time 0.02292/0.7419, allocations: 13.4 MB / 0.7787 GB, free: 5.117 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)