Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 183.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.728/0.728, allocations: 133.3 MB / 150.1 MB, free: 11.13 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 222.9 MB / 404.7 MB, free: 6.027 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009882/0.0009882, allocations: 109.8 kB / 485.9 MB, free: 7.129 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000948/0.000948, allocations: 55.92 kB / 0.5636 GB, free: 69.88 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1244, allocations: 80.43 MB / 0.6421 GB, free: 5.383 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005955/0.1304, allocations: 4.216 MB / 0.6463 GB, free: 1.145 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.3904/0.5208, allocations: 148.2 MB / 0.791 GB, free: 8.535 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005645/0.5214, allocations: 11.94 kB / 0.791 GB, free: 8.523 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004118/0.5219, allocations: 138.9 kB / 0.7912 GB, free: 8.387 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.00114/0.523, allocations: 414.5 kB / 0.7916 GB, free: 8 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001513/0.5246, allocations: 0.7105 MB / 0.7923 GB, free: 7.32 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0009069/0.5255, allocations: 1.149 MB / 0.7934 GB, free: 6.168 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007185/0.5262, allocations: 0.6061 MB / 0.794 GB, free: 5.539 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004086/0.5266, allocations: 402.3 kB / 0.7944 GB, free: 5.145 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000402/0.527, allocations: 441.9 kB / 0.7948 GB, free: 4.711 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001053/0.5271, allocations: 52 kB / 0.7948 GB, free: 4.66 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005871/0.5277, allocations: 417.5 kB / 0.7952 GB, free: 4.254 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001977/0.5279, allocations: 231.1 kB / 0.7955 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003502/0.5283, allocations: 473.2 kB / 0.7959 GB, free: 3.562 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001218/0.5295, allocations: 1.453 MB / 0.7973 GB, free: 2.105 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.5295, allocations: 0 / 0.7973 GB, free: 2.105 MB / 0.5261 GB Notification: Performance of FrontEnd: time 7.71e-07/0.5295, allocations: 0 / 0.7973 GB, free: 2.105 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.136e-06/0.5296, allocations: 0 / 0.7973 GB, free: 2.105 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.00197/0.5315, allocations: 1.361 MB / 0.7987 GB, free: 0.6953 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 2.88e-05/0.5316, allocations: 8.031 kB / 0.7987 GB, free: 0.6875 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007973/0.5324, allocations: 187.4 kB / 0.7988 GB, free: 0.5039 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00092/0.5333, allocations: 0.7114 MB / 0.7995 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.497e-05/0.5334, allocations: 66 kB / 0.7996 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.5335, allocations: 76 kB / 0.7997 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/0.5348, allocations: 0.8989 MB / 0.8005 GB, free: 14.67 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.5348, allocations: 0 / 0.8005 GB, free: 14.67 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.217e-05/0.5349, allocations: 36 kB / 0.8006 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/0.5349, allocations: 24 kB / 0.8006 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001644/0.5366, allocations: 1.096 MB / 0.8017 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003634/0.5402, allocations: 2.536 MB / 0.8042 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001749/0.542, allocations: 0.865 MB / 0.805 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005008/0.5425, allocations: 294.6 kB / 0.8053 GB, free: 9.723 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 8.769e-05/0.5426, allocations: 36.67 kB / 0.8053 GB, free: 9.688 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000756/0.5434, allocations: 451.5 kB / 0.8057 GB, free: 9.23 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=76): time 2.044e-06/0.5434, allocations: 0 / 0.8057 GB, free: 9.23 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76): time 0.002827/0.5462, allocations: 1.12 MB / 0.8068 GB, free: 8.086 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.086e-05/0.5463, allocations: 192.6 kB / 0.807 GB, free: 7.852 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006402/0.547, allocations: 0.5979 MB / 0.8076 GB, free: 7.25 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.616e-05/0.547, allocations: 41.7 kB / 0.8076 GB, free: 7.203 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002459/0.5473, allocations: 384.3 kB / 0.808 GB, free: 6.82 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/0.5475, allocations: 248.4 kB / 0.8082 GB, free: 6.574 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002276/0.5477, allocations: 170.4 kB / 0.8084 GB, free: 6.402 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.5479, allocations: 382.7 kB / 0.8088 GB, free: 6.02 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004763/0.5483, allocations: 249.9 kB / 0.809 GB, free: 5.773 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005652/0.5489, allocations: 343.1 kB / 0.8093 GB, free: 5.422 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.5499, allocations: 0.5795 MB / 0.8099 GB, free: 4.84 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.55, allocations: 0 / 0.8099 GB, free: 4.84 MB / 0.5417 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001794/0.5518, allocations: 0.8098 MB / 0.8107 GB, free: 4.02 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.5518, allocations: 4 kB / 0.8107 GB, free: 4.016 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.5518, allocations: 4 kB / 0.8107 GB, free: 4.012 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005619/0.5524, allocations: 84.86 kB / 0.8108 GB, free: 3.926 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006114/0.553, allocations: 159.8 kB / 0.8109 GB, free: 3.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001868/0.5549, allocations: 1.514 MB / 0.8124 GB, free: 2.121 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005802/0.5555, allocations: 96.92 kB / 0.8125 GB, free: 2.027 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.409e-05/0.5555, allocations: 35.97 kB / 0.8125 GB, free: 1.992 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,solAzi.outsidePolarCircle,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 (88): * Single equations (assignments): 87 * 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.0003076/0.5558, allocations: 253.7 kB / 0.8128 GB, free: 1.734 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.556, allocations: 79 kB / 0.8129 GB, free: 1.656 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002281/0.5583, allocations: 1.051 MB / 0.8139 GB, free: 0.5938 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.5583, allocations: 12 kB / 0.8139 GB, free: 0.582 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.5583, allocations: 0 / 0.8139 GB, free: 0.582 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.5583, allocations: 7.969 kB / 0.8139 GB, free: 0.5742 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003094/0.5614, allocations: 1.939 MB / 0.8158 GB, free: 14.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.5614, allocations: 0 / 0.8158 GB, free: 14.57 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005861/0.562, allocations: 159.7 kB / 0.816 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004996/0.5625, allocations: 84.77 kB / 0.816 GB, free: 14.33 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.474e-05/0.5626, allocations: 23.98 kB / 0.8161 GB, free: 14.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001695/0.5643, allocations: 1.55 MB / 0.8176 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5643, allocations: 0 / 0.8176 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002744/0.5671, allocations: 1.982 MB / 0.8195 GB, free: 10.58 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003278/0.5674, allocations: 267.7 kB / 0.8198 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.719e-05/0.5675, allocations: 16 kB / 0.8198 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005615/0.5681, allocations: 63.94 kB / 0.8198 GB, free: 10.22 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.5682, allocations: 60.91 kB / 0.8199 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.351e-05/0.5683, allocations: 35.97 kB / 0.8199 GB, free: 10.12 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004744/0.5688, allocations: 435 kB / 0.8203 GB, free: 9.707 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.31e-07/0.5688, allocations: 0 / 0.8203 GB, free: 9.707 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0008252/0.5696, allocations: 311.3 kB / 0.8206 GB, free: 9.402 MB / 0.5573 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 (93): * Single equations (assignments): 90 * 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.001232/0.5709, allocations: 0.6129 MB / 0.8212 GB, free: 8.965 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001471/0.5723, allocations: 0.7889 MB / 0.822 GB, free: 8.164 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.5724, allocations: 7.922 kB / 0.822 GB, free: 8.156 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0008534/0.5732, allocations: 0.508 MB / 0.8225 GB, free: 7.637 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.5743, allocations: 269.5 kB / 0.8228 GB, free: 7.379 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003992/0.5783, allocations: 2.578 MB / 0.8253 GB, free: 4.754 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005577/0.5789, allocations: 1.035 MB / 0.8263 GB, free: 3.691 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007315/0.5797, allocations: 262.2 kB / 0.8265 GB, free: 3.43 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002453/0.5799, allocations: 103.4 kB / 0.8266 GB, free: 3.328 MB / 0.5573 GB Notification: Performance of SimCode: time 2.71e-07/0.5799, allocations: 0 / 0.8266 GB, free: 3.328 MB / 0.5573 GB Notification: Performance of Templates: time 0.02056/0.6005, allocations: 14.12 MB / 0.8404 GB, free: 5.324 MB / 0.573 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)