Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001446/0.001446, allocations: 109.8 kB / 16.41 MB, free: 6.512 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.001513/0.001513, allocations: 188 kB / 17.34 MB, free: 5.738 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002662/0.002662, allocations: 289.4 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 1.059/1.059, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002791/0.002791, allocations: 95.84 kB / 0.6821 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4594/0.4622, allocations: 86.98 MB / 0.767 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006599/0.4688, allocations: 4.292 MB / 0.7712 GB, free: 15.65 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1852/0.6539, allocations: 151 MB / 0.9187 GB, free: 8.09 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008286/0.6548, allocations: 15.94 kB / 0.9187 GB, free: 8.074 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005867/0.6554, allocations: 170.4 kB / 0.9188 GB, free: 7.906 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001635/0.657, allocations: 0.504 MB / 0.9193 GB, free: 7.402 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001972/0.659, allocations: 0.8242 MB / 0.9201 GB, free: 6.586 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001431/0.6604, allocations: 1.281 MB / 0.9214 GB, free: 5.297 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007316/0.6611, allocations: 452.8 kB / 0.9218 GB, free: 4.832 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005993/0.6617, allocations: 470.4 kB / 0.9223 GB, free: 4.371 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005795/0.6623, allocations: 481.8 kB / 0.9227 GB, free: 3.898 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001511/0.6625, allocations: 120 kB / 0.9228 GB, free: 3.781 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008943/0.6634, allocations: 491.5 kB / 0.9233 GB, free: 3.301 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002989/0.6637, allocations: 287.1 kB / 0.9236 GB, free: 3.02 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005088/0.6642, allocations: 0.5285 MB / 0.9241 GB, free: 2.488 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002017/0.6662, allocations: 1.586 MB / 0.9256 GB, free: 0.9023 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.6662, allocations: 0 / 0.9256 GB, free: 0.9023 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6662, allocations: 3.938 kB / 0.9257 GB, free: 0.8984 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.476e-05/0.6662, allocations: 0 / 0.9257 GB, free: 0.8984 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002713/0.6689, allocations: 1.44 MB / 0.9271 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.669, allocations: 8.031 kB / 0.9271 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009339/0.6699, allocations: 188 kB / 0.9272 GB, free: 15.22 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/0.6711, allocations: 0.7623 MB / 0.928 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.015e-05/0.6712, allocations: 58 kB / 0.928 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.6713, allocations: 76 kB / 0.9281 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001635/0.673, allocations: 0.9105 MB / 0.929 GB, free: 13.33 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.673, allocations: 4 kB / 0.929 GB, free: 13.33 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.6731, allocations: 36 kB / 0.929 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.355e-05/0.6731, allocations: 24 kB / 0.9291 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001849/0.675, allocations: 1.089 MB / 0.9301 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003981/0.6789, allocations: 2.453 MB / 0.9325 GB, free: 9.648 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/0.6805, allocations: 0.8111 MB / 0.9333 GB, free: 8.816 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005459/0.681, allocations: 274.7 kB / 0.9336 GB, free: 8.547 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.095e-05/0.6811, allocations: 36.59 kB / 0.9336 GB, free: 8.512 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008673/0.682, allocations: 492.6 kB / 0.9341 GB, free: 8.012 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=79): time 2.154e-06/0.682, allocations: 0 / 0.9341 GB, free: 8.012 MB / 0.7012 GB Notification: Performance of matching and sorting (n=79): time 0.003186/0.6852, allocations: 1.182 MB / 0.9352 GB, free: 6.801 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000136/0.6853, allocations: 188.6 kB / 0.9354 GB, free: 6.574 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008235/0.6861, allocations: 0.6175 MB / 0.936 GB, free: 5.953 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.237e-05/0.6862, allocations: 45.7 kB / 0.9361 GB, free: 5.902 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003285/0.6865, allocations: 389.1 kB / 0.9364 GB, free: 5.516 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002349/0.6868, allocations: 273.7 kB / 0.9367 GB, free: 5.246 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002489/0.687, allocations: 166.6 kB / 0.9369 GB, free: 5.078 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002255/0.6872, allocations: 390.7 kB / 0.9372 GB, free: 4.688 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005501/0.6878, allocations: 257.9 kB / 0.9375 GB, free: 4.438 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006544/0.6884, allocations: 359 kB / 0.9378 GB, free: 4.07 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/0.6896, allocations: 0.5955 MB / 0.9384 GB, free: 3.465 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.6896, allocations: 0 / 0.9384 GB, free: 3.465 MB / 0.7012 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001991/0.6916, allocations: 0.8336 MB / 0.9392 GB, free: 2.621 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.6916, allocations: 12.09 kB / 0.9392 GB, free: 2.609 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.6916, allocations: 0 / 0.9392 GB, free: 2.609 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000603/0.6922, allocations: 76.78 kB / 0.9393 GB, free: 2.531 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006557/0.6929, allocations: 167.7 kB / 0.9395 GB, free: 2.367 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002317/0.6952, allocations: 1.63 MB / 0.941 GB, free: 0.5938 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006585/0.6959, allocations: 87.59 kB / 0.9411 GB, free: 0.5078 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.421e-05/0.6959, allocations: 31.98 kB / 0.9412 GB, free: 488 kB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * 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.0004038/0.6963, allocations: 275.2 kB / 0.9414 GB, free: 204 kB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/0.6965, allocations: 87.44 kB / 0.9415 GB, free: 116 kB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002436/0.6989, allocations: 1.046 MB / 0.9425 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.6989, allocations: 8 kB / 0.9425 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.699, allocations: 7.938 kB / 0.9425 GB, free: 15.03 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.499e-05/0.699, allocations: 11.91 kB / 0.9426 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003316/0.7023, allocations: 1.9 MB / 0.9444 GB, free: 13.06 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.7023, allocations: 0 / 0.9444 GB, free: 13.06 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005995/0.7029, allocations: 143.8 kB / 0.9446 GB, free: 12.92 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004412/0.7033, allocations: 72.78 kB / 0.9446 GB, free: 12.85 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.9e-05/0.7034, allocations: 23.98 kB / 0.9446 GB, free: 12.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002156/0.7055, allocations: 1.654 MB / 0.9463 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.7055, allocations: 3.938 kB / 0.9463 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002093/0.7076, allocations: 0.9867 MB / 0.9472 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003799/0.708, allocations: 272.2 kB / 0.9475 GB, free: 9.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.7081, allocations: 20 kB / 0.9475 GB, free: 9.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006436/0.7088, allocations: 67.98 kB / 0.9476 GB, free: 9.645 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/0.7089, allocations: 69.05 kB / 0.9476 GB, free: 9.578 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.549e-05/0.709, allocations: 39.95 kB / 0.9477 GB, free: 9.539 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005925/0.7096, allocations: 447 kB / 0.9481 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.7096, allocations: 0 / 0.9481 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000876/0.7105, allocations: 311.2 kB / 0.9484 GB, free: 8.801 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001902/0.7124, allocations: 0.6091 MB / 0.949 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001758/0.7141, allocations: 0.7843 MB / 0.9498 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.7141, allocations: 4 kB / 0.9498 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009831/0.7151, allocations: 492.3 kB / 0.9502 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/0.7163, allocations: 300.5 kB / 0.9505 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003983/0.7203, allocations: 1.743 MB / 0.9522 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007666/0.7211, allocations: 1.023 MB / 0.9532 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0007828/0.7219, allocations: 262.5 kB / 0.9535 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002614/0.7221, allocations: 103.3 kB / 0.9536 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of SimCode: time 4.01e-07/0.7221, allocations: 0 / 0.9536 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of Templates: time 0.3743/1.096, allocations: 14.74 MB / 0.968 GB, free: 184.8 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)