Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001436/0.001436, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002028/0.002028, allocations: 193 kB / 16.25 MB, free: 6.629 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.434/1.434, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9646/0.9646, allocations: 135.6 MB / 425.6 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 72.36 kB / 0.5054 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1758, allocations: 81.02 MB / 0.5845 GB, free: 4.344 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006232/0.1821, allocations: 4.083 MB / 0.5885 GB, free: 236 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.506/0.6882, allocations: 148.2 MB / 0.7332 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000925/0.6892, allocations: 18.91 kB / 0.7332 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006353/0.6899, allocations: 129.7 kB / 0.7334 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001566/0.6914, allocations: 417.9 kB / 0.7338 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002013/0.6935, allocations: 0.7029 MB / 0.7345 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001423/0.6949, allocations: 1.17 MB / 0.7356 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000957/0.6959, allocations: 0.6142 MB / 0.7362 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006277/0.6965, allocations: 421.7 kB / 0.7366 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005316/0.697, allocations: 454.3 kB / 0.737 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001323/0.6972, allocations: 106.2 kB / 0.7371 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008714/0.6981, allocations: 448.8 kB / 0.7376 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002505/0.6983, allocations: 266.4 kB / 0.7378 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004233/0.6988, allocations: 496.5 kB / 0.7383 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001671/0.7004, allocations: 1.461 MB / 0.7397 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.7005, allocations: 0 / 0.7397 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7005, allocations: 0 / 0.7397 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.26e-05/0.7005, allocations: 0 / 0.7397 GB, free: 10.03 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.00221/0.7027, allocations: 1.303 MB / 0.741 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.7027, allocations: 10.19 kB / 0.741 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008707/0.7036, allocations: 180.8 kB / 0.7412 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.7047, allocations: 0.6977 MB / 0.7418 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.7e-05/0.7047, allocations: 58.12 kB / 0.7419 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.7048, allocations: 77.81 kB / 0.742 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/0.7064, allocations: 0.856 MB / 0.7428 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.7064, allocations: 5.406 kB / 0.7428 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.259e-05/0.7065, allocations: 36.34 kB / 0.7429 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.696e-05/0.7065, allocations: 22.44 kB / 0.7429 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001559/0.7081, allocations: 1.059 MB / 0.7439 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003735/0.7118, allocations: 2.385 MB / 0.7462 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001335/0.7132, allocations: 0.8088 MB / 0.747 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004534/0.7136, allocations: 276 kB / 0.7473 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.695e-05/0.7137, allocations: 30.94 kB / 0.7473 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008326/0.7145, allocations: 421.4 kB / 0.7477 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 1.873e-06/0.7146, allocations: 0 / 0.7477 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70): time 0.002944/0.7175, allocations: 1.066 MB / 0.7488 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.7176, allocations: 196.5 kB / 0.749 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007591/0.7184, allocations: 0.5744 MB / 0.7495 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.027e-05/0.7185, allocations: 45.7 kB / 0.7496 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003214/0.7188, allocations: 368.3 kB / 0.7499 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002183/0.719, allocations: 236.6 kB / 0.7501 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002281/0.7193, allocations: 142.5 kB / 0.7503 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000196/0.7195, allocations: 382.8 kB / 0.7506 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004524/0.7199, allocations: 233.9 kB / 0.7509 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005706/0.7205, allocations: 326.8 kB / 0.7512 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009862/0.7215, allocations: 0.539 MB / 0.7517 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.7215, allocations: 4 kB / 0.7517 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001839/0.7234, allocations: 0.7665 MB / 0.7524 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/0.7234, allocations: 8 kB / 0.7525 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.7234, allocations: 0 / 0.7525 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005964/0.724, allocations: 84.81 kB / 0.7525 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005758/0.7246, allocations: 139.8 kB / 0.7527 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002285/0.7269, allocations: 1.646 MB / 0.7543 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006621/0.7276, allocations: 68.42 kB / 0.7543 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-05/0.7277, allocations: 40.03 kB / 0.7544 GB, free: 13.8 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.0005088/0.7282, allocations: 255.2 kB / 0.7546 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.7283, allocations: 79 kB / 0.7547 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00222/0.7306, allocations: 0.9556 MB / 0.7556 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.7306, allocations: 12 kB / 0.7556 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.7306, allocations: 4 kB / 0.7556 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.7306, allocations: 3.984 kB / 0.7556 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003056/0.7337, allocations: 1.832 MB / 0.7574 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.7337, allocations: 0.6562 kB / 0.7574 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005021/0.7342, allocations: 135.8 kB / 0.7576 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004265/0.7346, allocations: 80.66 kB / 0.7576 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-05/0.7347, allocations: 23.98 kB / 0.7577 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001968/0.7367, allocations: 1.666 MB / 0.7593 GB, free: 8.543 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.7367, allocations: 4.062 kB / 0.7593 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001818/0.7385, allocations: 0.8946 MB / 0.7602 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003546/0.7389, allocations: 259.6 kB / 0.7604 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.739, allocations: 15.94 kB / 0.7604 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005311/0.7395, allocations: 54.47 kB / 0.7605 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/0.7397, allocations: 56.92 kB / 0.7605 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.406e-05/0.7397, allocations: 31.98 kB / 0.7606 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005603/0.7403, allocations: 427 kB / 0.761 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7403, allocations: 0 / 0.761 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009376/0.7413, allocations: 287.2 kB / 0.7613 GB, free: 6.508 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.001909/0.7432, allocations: 0.6029 MB / 0.7618 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002191/0.7454, allocations: 0.9261 MB / 0.7627 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.7454, allocations: 0 / 0.7627 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009778/0.7464, allocations: 489.3 kB / 0.7632 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/0.7479, allocations: 279.1 kB / 0.7635 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005196/0.7531, allocations: 2 MB / 0.7654 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008571/0.754, allocations: 0.9992 MB / 0.7664 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009939/0.755, allocations: 246 kB / 0.7666 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002835/0.7553, allocations: 95.39 kB / 0.7667 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of SimCode: time 1.022e-06/0.7553, allocations: 4 kB / 0.7667 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of Templates: time 0.02794/0.7833, allocations: 13.56 MB / 0.78 GB, free: 3.641 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)