Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 110.3 kB / 16.37 MB, free: 6.012 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.001621/0.001621, allocations: 194.6 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7794/0.7794, allocations: 132.2 MB / 423.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 71.91 kB / 0.5032 GB, free: 10.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3482, allocations: 80.18 MB / 0.5815 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004837/0.3531, allocations: 4.078 MB / 0.5855 GB, free: 24.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1538/0.5069, allocations: 150.5 MB / 0.7324 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008567/0.5078, allocations: 23.88 kB / 0.7324 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00057/0.5084, allocations: 162.5 kB / 0.7326 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00157/0.51, allocations: 476.7 kB / 0.733 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001965/0.5119, allocations: 0.7894 MB / 0.7338 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001096/0.513, allocations: 1.176 MB / 0.735 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007987/0.5139, allocations: 0.6206 MB / 0.7356 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004737/0.5143, allocations: 426.5 kB / 0.736 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004289/0.5148, allocations: 442 kB / 0.7364 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001174/0.5149, allocations: 108 kB / 0.7365 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007926/0.5157, allocations: 463.6 kB / 0.7369 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002405/0.5159, allocations: 279.1 kB / 0.7372 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003913/0.5163, allocations: 497.3 kB / 0.7377 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001441/0.5178, allocations: 1.487 MB / 0.7391 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.5178, allocations: 0 / 0.7391 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.452e-06/0.5178, allocations: 0 / 0.7391 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.51e-05/0.5178, allocations: 0 / 0.7391 GB, free: 12.25 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002047/0.5199, allocations: 1.311 MB / 0.7404 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.5199, allocations: 8.031 kB / 0.7404 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008667/0.5208, allocations: 183.5 kB / 0.7406 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.522, allocations: 0.7229 MB / 0.7413 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.071e-05/0.522, allocations: 61.94 kB / 0.7414 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.524e-05/0.5221, allocations: 72 kB / 0.7414 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.5235, allocations: 0.8559 MB / 0.7423 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.5235, allocations: 0 / 0.7423 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.876e-05/0.5236, allocations: 32 kB / 0.7423 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/0.5236, allocations: 31.97 kB / 0.7423 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001572/0.5252, allocations: 1.057 MB / 0.7434 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003554/0.5287, allocations: 2.35 MB / 0.7456 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/0.5301, allocations: 0.789 MB / 0.7464 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004545/0.5306, allocations: 278.4 kB / 0.7467 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.989e-05/0.5306, allocations: 32.53 kB / 0.7467 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007024/0.5313, allocations: 425.8 kB / 0.7471 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 1.964e-06/0.5314, allocations: 0 / 0.7471 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70): time 0.002729/0.5341, allocations: 1.066 MB / 0.7482 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.5342, allocations: 188.5 kB / 0.7483 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007177/0.5349, allocations: 0.5861 MB / 0.7489 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.41e-05/0.535, allocations: 37.7 kB / 0.7489 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002687/0.5353, allocations: 368.2 kB / 0.7493 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000165/0.5354, allocations: 236.6 kB / 0.7495 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000216/0.5357, allocations: 146.5 kB / 0.7497 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.5358, allocations: 378.8 kB / 0.75 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004328/0.5363, allocations: 241.9 kB / 0.7503 GB, free: 500 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005077/0.5368, allocations: 322.8 kB / 0.7506 GB, free: 160 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2562/0.793, allocations: 0.5436 MB / 0.7511 GB, free: 167 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/0.793, allocations: 1.188 kB / 0.7511 GB, free: 167 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00192/0.7949, allocations: 0.7605 MB / 0.7518 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.795, allocations: 7.047 kB / 0.7518 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.795, allocations: 0.7812 kB / 0.7518 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006017/0.7956, allocations: 83.06 kB / 0.7519 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006081/0.7962, allocations: 143.3 kB / 0.7521 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001747/0.798, allocations: 1.643 MB / 0.7537 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006384/0.7986, allocations: 75.22 kB / 0.7537 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.285e-05/0.7987, allocations: 34.81 kB / 0.7538 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.0004116/0.7991, allocations: 255.6 kB / 0.754 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.7993, allocations: 73.55 kB / 0.7541 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002213/0.8015, allocations: 0.9608 MB / 0.755 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/0.8015, allocations: 9.484 kB / 0.755 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.8015, allocations: 4.562 kB / 0.755 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.8015, allocations: 4.953 kB / 0.755 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003019/0.8046, allocations: 1.835 MB / 0.7568 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.8046, allocations: 0 / 0.7568 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005655/0.8051, allocations: 137.1 kB / 0.757 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004381/0.8056, allocations: 71.91 kB / 0.757 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.664e-05/0.8057, allocations: 23.36 kB / 0.7571 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001595/0.8073, allocations: 1.675 MB / 0.7587 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.8073, allocations: 1.625 kB / 0.7587 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001853/0.8091, allocations: 0.8985 MB / 0.7596 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003178/0.8095, allocations: 249.6 kB / 0.7598 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.654e-05/0.8096, allocations: 16.66 kB / 0.7598 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005237/0.8101, allocations: 54.31 kB / 0.7599 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.8102, allocations: 63 kB / 0.7599 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.63e-05/0.8103, allocations: 28.83 kB / 0.76 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005284/0.8109, allocations: 428.8 kB / 0.7604 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8109, allocations: 1.281 kB / 0.7604 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007794/0.8116, allocations: 284.6 kB / 0.7606 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.001211/0.8129, allocations: 0.5928 MB / 0.7612 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001363/0.8142, allocations: 0.7486 MB / 0.762 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.8143, allocations: 5.297 kB / 0.762 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007234/0.815, allocations: 481.9 kB / 0.7624 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.816, allocations: 282.1 kB / 0.7627 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003089/0.8191, allocations: 1.616 MB / 0.7643 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003918/0.8195, allocations: 0.9959 MB / 0.7652 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006474/0.8202, allocations: 254.4 kB / 0.7655 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002088/0.8204, allocations: 92.27 kB / 0.7656 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of SimCode: time 4.81e-07/0.8204, allocations: 2.516 kB / 0.7656 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.01771/0.8381, allocations: 13.62 MB / 0.7789 GB, free: 146.4 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)