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.001268/0.001268, 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.001509/0.001509, allocations: 194.3 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.451/1.451, allocations: 222.9 MB / 240.2 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9518/0.9518, allocations: 135.2 MB / 425.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.001241, allocations: 72.69 kB / 0.5054 GB, free: 5.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.152, allocations: 80.93 MB / 0.5844 GB, free: 4.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006219/0.1582, allocations: 4.028 MB / 0.5884 GB, free: 428 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4076/0.5659, allocations: 150.4 MB / 0.7353 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000788/0.5667, allocations: 23.31 kB / 0.7353 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007286/0.5675, allocations: 161.2 kB / 0.7354 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001893/0.5694, allocations: 476 kB / 0.7359 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002015/0.5715, allocations: 0.7706 MB / 0.7366 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001446/0.5729, allocations: 1.15 MB / 0.7378 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001009/0.5739, allocations: 0.5936 MB / 0.7384 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007043/0.5747, allocations: 417.6 kB / 0.7388 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006465/0.5753, allocations: 432.2 kB / 0.7392 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002563/0.5756, allocations: 99.78 kB / 0.7393 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009675/0.5766, allocations: 443.8 kB / 0.7397 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003017/0.5769, allocations: 264.5 kB / 0.7399 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006063/0.5775, allocations: 487.8 kB / 0.7404 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001874/0.5794, allocations: 1.413 MB / 0.7418 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.5794, allocations: 0 / 0.7418 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5794, allocations: 5.562 kB / 0.7418 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.695e-05/0.5794, allocations: 0 / 0.7418 GB, free: 8.637 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.002673/0.5821, allocations: 1.309 MB / 0.7431 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.5822, allocations: 9.625 kB / 0.7431 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009238/0.5831, allocations: 182.3 kB / 0.7432 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009426/0.5841, allocations: 0.6915 MB / 0.7439 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.634e-05/0.5841, allocations: 56.91 kB / 0.744 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.379e-05/0.5842, allocations: 78.11 kB / 0.744 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/0.5856, allocations: 0.8448 MB / 0.7449 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.5856, allocations: 0 / 0.7449 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.259e-05/0.5857, allocations: 31.84 kB / 0.7449 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/0.5857, allocations: 20.59 kB / 0.7449 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001478/0.5872, allocations: 1.045 MB / 0.7459 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003318/0.5905, allocations: 2.326 MB / 0.7482 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/0.5917, allocations: 0.7823 MB / 0.749 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004306/0.5922, allocations: 272.2 kB / 0.7492 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.935e-05/0.5922, allocations: 29.06 kB / 0.7493 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000665/0.5929, allocations: 414 kB / 0.7497 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 2.364e-06/0.5929, allocations: 0 / 0.7497 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70): time 0.002857/0.5958, allocations: 1.056 MB / 0.7507 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.785e-05/0.5959, allocations: 191.3 kB / 0.7509 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006957/0.5966, allocations: 0.586 MB / 0.7514 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.34e-05/0.5967, allocations: 37.7 kB / 0.7515 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002645/0.5969, allocations: 364.4 kB / 0.7518 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/0.5971, allocations: 228.7 kB / 0.752 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000211/0.5973, allocations: 150.5 kB / 0.7522 GB, free: 496 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.5975, allocations: 374.8 kB / 0.7526 GB, free: 112 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004577/0.5979, allocations: 229.9 kB / 0.7528 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005517/0.5985, allocations: 318.8 kB / 0.7531 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009418/0.5994, allocations: 0.5351 MB / 0.7536 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.5995, allocations: 0 / 0.7536 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001713/0.6012, allocations: 0.7548 MB / 0.7543 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.6012, allocations: 4 kB / 0.7543 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.6012, allocations: 0 / 0.7543 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005876/0.6018, allocations: 84.86 kB / 0.7544 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006046/0.6024, allocations: 143.8 kB / 0.7546 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00202/0.6045, allocations: 1.641 MB / 0.7562 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006486/0.6051, allocations: 83.36 kB / 0.7562 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.866e-05/0.6052, allocations: 27.98 kB / 0.7563 GB, free: 12.14 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.0004027/0.6056, allocations: 252.8 kB / 0.7565 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.6057, allocations: 71.16 kB / 0.7566 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00208/0.6078, allocations: 0.9594 MB / 0.7575 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.6079, allocations: 8 kB / 0.7575 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.6079, allocations: 4 kB / 0.7575 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.6079, allocations: 5.484 kB / 0.7575 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002864/0.6107, allocations: 1.789 MB / 0.7593 GB, free: 8.984 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.6108, allocations: 0 / 0.7593 GB, free: 8.984 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005069/0.6113, allocations: 135.8 kB / 0.7594 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004293/0.6117, allocations: 72.78 kB / 0.7595 GB, free: 8.777 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.794e-05/0.6118, allocations: 27.92 kB / 0.7595 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001801/0.6136, allocations: 1.648 MB / 0.7611 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.6136, allocations: 0 / 0.7611 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001732/0.6153, allocations: 0.8907 MB / 0.762 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003042/0.6156, allocations: 247.8 kB / 0.7622 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.6158, allocations: 16 kB / 0.7622 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005349/0.6163, allocations: 59.88 kB / 0.7623 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.6164, allocations: 56.92 kB / 0.7623 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-05/0.6165, allocations: 28.86 kB / 0.7624 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005133/0.617, allocations: 419.1 kB / 0.7628 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.617, allocations: 0 / 0.7628 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008697/0.6179, allocations: 287.2 kB / 0.763 GB, free: 4.945 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.001361/0.6193, allocations: 0.5995 MB / 0.7636 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001971/0.6213, allocations: 0.9142 MB / 0.7645 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.6213, allocations: 4.188 kB / 0.7645 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000803/0.6221, allocations: 481.2 kB / 0.765 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.6233, allocations: 286.3 kB / 0.7653 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00367/0.6269, allocations: 1.618 MB / 0.7668 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005329/0.6275, allocations: 0.9913 MB / 0.7678 GB, free: 224 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007832/0.6283, allocations: 249.9 kB / 0.768 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002111/0.6285, allocations: 95.39 kB / 0.7681 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of SimCode: time 8.91e-07/0.6285, allocations: 0 / 0.7681 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of Templates: time 0.02374/0.6522, allocations: 13.48 MB / 0.7813 GB, free: 2.559 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)