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.001519/0.001519, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002195/0.002195, allocations: 193.2 kB / 16.14 MB, free: 6.711 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.386/1.386, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9744/0.9744, allocations: 135.1 MB / 425.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 68.83 kB / 0.5047 GB, free: 5.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1805, allocations: 80.93 MB / 0.5837 GB, free: 4.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005808/0.1864, allocations: 4.056 MB / 0.5877 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5212/0.7076, allocations: 148.1 MB / 0.7323 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001074/0.7087, allocations: 15.22 kB / 0.7323 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006526/0.7095, allocations: 131.4 kB / 0.7325 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001726/0.7112, allocations: 389.4 kB / 0.7328 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002109/0.7133, allocations: 0.6741 MB / 0.7335 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001536/0.7149, allocations: 1.079 MB / 0.7345 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000988/0.7159, allocations: 0.5788 MB / 0.7351 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007602/0.7166, allocations: 355.1 kB / 0.7355 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006334/0.7173, allocations: 412.2 kB / 0.7358 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001401/0.7174, allocations: 52.59 kB / 0.7359 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001315/0.7187, allocations: 383.9 kB / 0.7363 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003045/0.7191, allocations: 211.3 kB / 0.7365 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005935/0.7197, allocations: 442.7 kB / 0.7369 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001879/0.7215, allocations: 1.38 MB / 0.7382 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.7216, allocations: 0 / 0.7382 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.173e-06/0.7216, allocations: 0 / 0.7382 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.452e-05/0.7216, allocations: 0 / 0.7382 GB, free: 11.4 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.002538/0.7241, allocations: 1.306 MB / 0.7395 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.7242, allocations: 8.906 kB / 0.7395 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009526/0.7252, allocations: 178.5 kB / 0.7397 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.7262, allocations: 0.6914 MB / 0.7404 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.156e-05/0.7263, allocations: 58.06 kB / 0.7404 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.7264, allocations: 73.28 kB / 0.7405 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/0.7281, allocations: 0.8372 MB / 0.7413 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.7282, allocations: 3.938 kB / 0.7413 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.714e-05/0.7283, allocations: 36.73 kB / 0.7413 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.168e-05/0.7283, allocations: 21.72 kB / 0.7414 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001901/0.7302, allocations: 1.045 MB / 0.7424 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003867/0.7341, allocations: 2.325 MB / 0.7447 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/0.7354, allocations: 0.7717 MB / 0.7454 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004635/0.7358, allocations: 276.1 kB / 0.7457 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.726e-05/0.7359, allocations: 29.25 kB / 0.7457 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008632/0.7368, allocations: 414.9 kB / 0.7461 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 3.577e-06/0.7368, allocations: 2.469 kB / 0.7461 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70): time 0.003081/0.7399, allocations: 1.049 MB / 0.7471 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/0.74, allocations: 195.6 kB / 0.7473 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000834/0.7409, allocations: 0.582 MB / 0.7479 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.906e-05/0.741, allocations: 37.7 kB / 0.7479 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003343/0.7413, allocations: 360.4 kB / 0.7483 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002158/0.7415, allocations: 240.6 kB / 0.7485 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002396/0.7418, allocations: 146.5 kB / 0.7486 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001955/0.742, allocations: 378.8 kB / 0.749 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004516/0.7424, allocations: 233.9 kB / 0.7492 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005512/0.743, allocations: 318.7 kB / 0.7495 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009579/0.744, allocations: 0.539 MB / 0.75 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.744, allocations: 0 / 0.75 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001816/0.7458, allocations: 0.7432 MB / 0.7508 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.424e-05/0.7459, allocations: 8 kB / 0.7508 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.7459, allocations: 4.094 kB / 0.7508 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006275/0.7465, allocations: 80.77 kB / 0.7509 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005948/0.7471, allocations: 151.8 kB / 0.751 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002253/0.7494, allocations: 1.509 MB / 0.7525 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000776/0.7502, allocations: 88.22 kB / 0.7526 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.406e-05/0.7502, allocations: 31.97 kB / 0.7526 GB, free: 15.79 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.0005245/0.7508, allocations: 245.7 kB / 0.7528 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/0.751, allocations: 71.16 kB / 0.7529 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002147/0.7531, allocations: 0.9609 MB / 0.7538 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.7531, allocations: 12 kB / 0.7538 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.7531, allocations: 3.984 kB / 0.7538 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.026e-06/0.7532, allocations: 3.984 kB / 0.7538 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003112/0.7563, allocations: 1.786 MB / 0.7556 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.7563, allocations: 0 / 0.7556 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005302/0.7568, allocations: 139.8 kB / 0.7557 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005187/0.7574, allocations: 84.25 kB / 0.7558 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.392e-05/0.7574, allocations: 23.98 kB / 0.7558 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002058/0.7595, allocations: 1.538 MB / 0.7573 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/0.7595, allocations: 8.016 kB / 0.7573 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001917/0.7614, allocations: 0.879 MB / 0.7582 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003713/0.7618, allocations: 255.8 kB / 0.7584 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.762, allocations: 16 kB / 0.7585 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005441/0.7625, allocations: 52.81 kB / 0.7585 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.7626, allocations: 56.92 kB / 0.7586 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.177e-05/0.7627, allocations: 27.98 kB / 0.7586 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005739/0.7633, allocations: 423 kB / 0.759 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7633, allocations: 4 kB / 0.759 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001138/0.7644, allocations: 279.4 kB / 0.7593 GB, free: 8.719 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.001545/0.766, allocations: 0.6019 MB / 0.7598 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001677/0.7677, allocations: 0.7349 MB / 0.7606 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.7677, allocations: 0 / 0.7606 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009088/0.7686, allocations: 488.6 kB / 0.761 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/0.77, allocations: 257.8 kB / 0.7613 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004678/0.7747, allocations: 1.989 MB / 0.7632 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007043/0.7754, allocations: 0.9877 MB / 0.7642 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000922/0.7763, allocations: 250 kB / 0.7644 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000255/0.7766, allocations: 99.39 kB / 0.7645 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of SimCode: time 1.232e-06/0.7766, allocations: 0 / 0.7645 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of Templates: time 0.0279/0.8045, allocations: 12.96 MB / 0.7772 GB, free: 6.68 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)