Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 106.6 kB / 16.41 MB, free: 6.477 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.001292/0.001292, allocations: 191 kB / 17.34 MB, free: 5.754 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.403/1.403, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00212/0.00212, allocations: 290.9 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9471/0.9471, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 87.86 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6407/0.6428, allocations: 86.99 MB / 0.767 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.007251/0.6501, allocations: 4.49 MB / 0.7714 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1945/0.8447, allocations: 150.7 MB / 0.9186 GB, free: 8.121 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001124/0.8458, allocations: 19.88 kB / 0.9186 GB, free: 8.102 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0008665/0.8467, allocations: 178.3 kB / 0.9188 GB, free: 7.926 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002295/0.8491, allocations: 0.5194 MB / 0.9193 GB, free: 7.406 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002592/0.8517, allocations: 0.8785 MB / 0.9201 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002101/0.8538, allocations: 1.386 MB / 0.9215 GB, free: 5.141 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001203/0.855, allocations: 0.645 MB / 0.9221 GB, free: 4.473 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009609/0.856, allocations: 0.506 MB / 0.9226 GB, free: 3.965 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009671/0.857, allocations: 0.5289 MB / 0.9231 GB, free: 3.434 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003886/0.8574, allocations: 120 kB / 0.9232 GB, free: 3.316 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001412/0.8588, allocations: 0.5035 MB / 0.9237 GB, free: 2.812 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004688/0.8593, allocations: 315 kB / 0.924 GB, free: 2.504 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008579/0.8601, allocations: 0.5713 MB / 0.9246 GB, free: 1.93 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002764/0.8629, allocations: 1.696 MB / 0.9262 GB, free: 236 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.8629, allocations: 0 / 0.9262 GB, free: 236 kB / 0.6856 GB Notification: Performance of FrontEnd: time 2.103e-06/0.8629, allocations: 0 / 0.9262 GB, free: 236 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.093e-05/0.863, allocations: 0 / 0.9262 GB, free: 236 kB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.003629/0.8666, allocations: 1.491 MB / 0.9277 GB, free: 14.69 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.8667, allocations: 8.031 kB / 0.9277 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000954/0.8676, allocations: 183.3 kB / 0.9279 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001254/0.8689, allocations: 0.7975 MB / 0.9287 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.599e-05/0.869, allocations: 66 kB / 0.9287 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.8691, allocations: 84 kB / 0.9288 GB, free: 13.51 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00165/0.8708, allocations: 0.9769 MB / 0.9298 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.8708, allocations: 0 / 0.9298 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-05/0.8709, allocations: 39.98 kB / 0.9298 GB, free: 12.46 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-05/0.8709, allocations: 24 kB / 0.9298 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001734/0.8726, allocations: 1.155 MB / 0.931 GB, free: 11.27 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00415/0.8768, allocations: 2.667 MB / 0.9336 GB, free: 8.535 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00198/0.8788, allocations: 0.985 MB / 0.9345 GB, free: 7.527 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005431/0.8794, allocations: 326.7 kB / 0.9348 GB, free: 7.203 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.634e-05/0.8794, allocations: 36.59 kB / 0.9349 GB, free: 7.168 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008635/0.8803, allocations: 0.5296 MB / 0.9354 GB, free: 6.621 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=88): time 2.595e-06/0.8803, allocations: 0 / 0.9354 GB, free: 6.621 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88): time 0.003135/0.8835, allocations: 1.298 MB / 0.9366 GB, free: 5.301 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.8836, allocations: 192.9 kB / 0.9368 GB, free: 5.066 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008338/0.8844, allocations: 0.6566 MB / 0.9375 GB, free: 4.402 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.069e-05/0.8845, allocations: 41.7 kB / 0.9375 GB, free: 4.355 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003279/0.8849, allocations: 408.4 kB / 0.9379 GB, free: 3.949 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002391/0.8851, allocations: 280 kB / 0.9382 GB, free: 3.672 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000257/0.8854, allocations: 178.5 kB / 0.9383 GB, free: 3.492 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.8856, allocations: 394.7 kB / 0.9387 GB, free: 3.098 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005208/0.8861, allocations: 289.8 kB / 0.939 GB, free: 2.816 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000639/0.8867, allocations: 395 kB / 0.9394 GB, free: 2.414 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.8878, allocations: 0.6477 MB / 0.94 GB, free: 1.758 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.8879, allocations: 0 / 0.94 GB, free: 1.758 MB / 0.7012 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001979/0.8898, allocations: 0.9189 MB / 0.9409 GB, free: 0.8242 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.8899, allocations: 10.8 kB / 0.9409 GB, free: 0.8164 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.8899, allocations: 0 / 0.9409 GB, free: 0.8164 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006131/0.8905, allocations: 80.84 kB / 0.941 GB, free: 0.7344 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007126/0.8912, allocations: 183.7 kB / 0.9412 GB, free: 0.5547 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002096/0.8933, allocations: 1.622 MB / 0.9427 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008436/0.8942, allocations: 110.7 kB / 0.9429 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.381e-05/0.8943, allocations: 43.95 kB / 0.9429 GB, free: 14.64 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 21 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,solAzi.outsidePolarCircle,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 103 * 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.0005073/0.8948, allocations: 280.3 kB / 0.9432 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001726/0.895, allocations: 86.97 kB / 0.9432 GB, free: 14.28 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002495/0.8975, allocations: 1.191 MB / 0.9444 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.8975, allocations: 12 kB / 0.9444 GB, free: 13.06 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.8975, allocations: 4 kB / 0.9444 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/0.8975, allocations: 7.969 kB / 0.9444 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003424/0.901, allocations: 2.096 MB / 0.9465 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.901, allocations: 0 / 0.9465 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006371/0.9016, allocations: 167.8 kB / 0.9466 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004444/0.9021, allocations: 76.72 kB / 0.9467 GB, free: 10.65 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.468e-05/0.9022, allocations: 31.97 kB / 0.9467 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001917/0.9041, allocations: 1.666 MB / 0.9484 GB, free: 8.809 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.9041, allocations: 3.938 kB / 0.9484 GB, free: 8.805 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002215/0.9063, allocations: 1.088 MB / 0.9494 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004925/0.9068, allocations: 283.7 kB / 0.9497 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00021/0.907, allocations: 27.91 kB / 0.9497 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007713/0.9078, allocations: 67.92 kB / 0.9498 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001655/0.908, allocations: 88.81 kB / 0.9499 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.651e-05/0.9081, allocations: 35.98 kB / 0.9499 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006185/0.9087, allocations: 471 kB / 0.9504 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9087, allocations: 0 / 0.9504 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0009754/0.9097, allocations: 339.3 kB / 0.9507 GB, free: 6.398 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001539/0.9113, allocations: 0.6292 MB / 0.9513 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001907/0.9132, allocations: 0.9054 MB / 0.9522 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.9132, allocations: 0 / 0.9522 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009794/0.9142, allocations: 0.5588 MB / 0.9527 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001254/0.9154, allocations: 293.8 kB / 0.953 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004308/0.9198, allocations: 1.902 MB / 0.9549 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007581/0.9205, allocations: 1.044 MB / 0.9559 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003763/0.9209, allocations: 127.4 kB / 0.956 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of SimCode: time 8.41e-07/0.9209, allocations: 0 / 0.956 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of Templates: time 0.4832/1.404, allocations: 19.65 MB / 0.9752 GB, free: 177.6 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)