Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005387/0.005387, allocations: 100.7 kB / 15.73 MB, free: 6.039 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.001189/0.001189, allocations: 186.8 kB / 16.67 MB, free: 5.977 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.293/1.293, allocations: 222.9 MB / 240.4 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002247/0.002247, allocations: 283 kB / 290.8 MB, free: 1.969 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9528/0.9528, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001667/0.001667, allocations: 96.12 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1798, allocations: 86.98 MB / 0.7664 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005858/0.1857, allocations: 4.436 MB / 0.7707 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4974/0.6831, allocations: 150.6 MB / 0.9178 GB, free: 7.539 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007293/0.6839, allocations: 19.88 kB / 0.9178 GB, free: 7.52 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.000599/0.6845, allocations: 176.7 kB / 0.9179 GB, free: 7.348 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001697/0.6863, allocations: 0.5148 MB / 0.9185 GB, free: 6.852 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001807/0.6881, allocations: 0.8414 MB / 0.9193 GB, free: 6.039 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001145/0.6892, allocations: 1.351 MB / 0.9206 GB, free: 4.68 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007756/0.69, allocations: 0.6414 MB / 0.9212 GB, free: 4.023 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004818/0.6905, allocations: 486.3 kB / 0.9217 GB, free: 3.547 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005154/0.691, allocations: 0.5095 MB / 0.9222 GB, free: 3.035 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001522/0.6912, allocations: 120 kB / 0.9223 GB, free: 2.918 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007927/0.692, allocations: 494.3 kB / 0.9228 GB, free: 2.438 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002436/0.6922, allocations: 303 kB / 0.9231 GB, free: 2.141 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004126/0.6927, allocations: 0.5557 MB / 0.9236 GB, free: 1.582 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001398/0.6941, allocations: 1.637 MB / 0.9252 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.6941, allocations: 0 / 0.9252 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6941, allocations: 4 kB / 0.9252 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.6941, allocations: 0 / 0.9252 GB, free: 15.95 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002252/0.6964, allocations: 1.452 MB / 0.9266 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.6964, allocations: 12.03 kB / 0.9266 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000835/0.6972, allocations: 191.3 kB / 0.9268 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.6983, allocations: 0.7745 MB / 0.9276 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.522e-05/0.6983, allocations: 66 kB / 0.9276 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.746e-05/0.6984, allocations: 84 kB / 0.9277 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/0.6999, allocations: 0.9457 MB / 0.9286 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.7, allocations: 3.938 kB / 0.9286 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.81e-05/0.7, allocations: 36 kB / 0.9287 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.24e-05/0.7001, allocations: 23.94 kB / 0.9287 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001645/0.7017, allocations: 1.128 MB / 0.9298 GB, free: 11.1 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003451/0.7052, allocations: 2.519 MB / 0.9323 GB, free: 8.516 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/0.7067, allocations: 0.9116 MB / 0.9331 GB, free: 7.582 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005184/0.7072, allocations: 329.5 kB / 0.9335 GB, free: 7.258 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.174e-05/0.7073, allocations: 24.62 kB / 0.9335 GB, free: 7.234 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000827/0.7081, allocations: 0.5205 MB / 0.934 GB, free: 6.695 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=85): time 1.894e-06/0.7081, allocations: 0 / 0.934 GB, free: 6.695 MB / 0.6856 GB Notification: Performance of matching and sorting (n=85): time 0.003019/0.7111, allocations: 1.247 MB / 0.9352 GB, free: 5.426 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.008e-05/0.7112, allocations: 200.8 kB / 0.9354 GB, free: 5.184 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006746/0.7119, allocations: 0.6371 MB / 0.936 GB, free: 4.539 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.904e-05/0.712, allocations: 45.7 kB / 0.9361 GB, free: 4.488 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002725/0.7123, allocations: 404.4 kB / 0.9365 GB, free: 4.086 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001915/0.7125, allocations: 272 kB / 0.9367 GB, free: 3.816 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002373/0.7127, allocations: 178.3 kB / 0.9369 GB, free: 3.641 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.7129, allocations: 390.7 kB / 0.9373 GB, free: 3.25 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005127/0.7134, allocations: 281.8 kB / 0.9375 GB, free: 2.977 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005964/0.714, allocations: 380 kB / 0.9379 GB, free: 2.586 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.7151, allocations: 0.6368 MB / 0.9385 GB, free: 1.938 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.7151, allocations: 0 / 0.9385 GB, free: 1.938 MB / 0.6856 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.00181/0.7169, allocations: 0.88 MB / 0.9394 GB, free: 1.043 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.717, allocations: 4 kB / 0.9394 GB, free: 1.039 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.717, allocations: 4 kB / 0.9394 GB, free: 1.035 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005438/0.7175, allocations: 92.77 kB / 0.9395 GB, free: 0.9414 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006533/0.7182, allocations: 171.7 kB / 0.9396 GB, free: 0.7734 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001936/0.7201, allocations: 1.619 MB / 0.9412 GB, free: 15.01 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006645/0.7208, allocations: 103.3 kB / 0.9413 GB, free: 14.91 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.229e-05/0.7209, allocations: 39.97 kB / 0.9413 GB, free: 14.87 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 20 (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,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 (101): * Single equations (assignments): 100 * 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.0003364/0.7212, allocations: 282.9 kB / 0.9416 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.7214, allocations: 82.97 kB / 0.9417 GB, free: 14.51 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002319/0.7237, allocations: 1.13 MB / 0.9428 GB, free: 13.37 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.7237, allocations: 15.94 kB / 0.9428 GB, free: 13.35 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.7237, allocations: 0 / 0.9428 GB, free: 13.35 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.7238, allocations: 7.984 kB / 0.9428 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00299/0.7268, allocations: 2.029 MB / 0.9448 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.7268, allocations: 0 / 0.9448 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000579/0.7274, allocations: 159.8 kB / 0.945 GB, free: 11.1 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004044/0.7278, allocations: 68.8 kB / 0.945 GB, free: 11.03 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.838e-05/0.7278, allocations: 27.97 kB / 0.945 GB, free: 11 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001659/0.7295, allocations: 1.666 MB / 0.9467 GB, free: 9.191 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.7295, allocations: 0 / 0.9467 GB, free: 9.191 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001907/0.7314, allocations: 1.053 MB / 0.9477 GB, free: 8.117 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003041/0.7317, allocations: 271.7 kB / 0.948 GB, free: 7.832 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.7319, allocations: 27.98 kB / 0.948 GB, free: 7.805 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006407/0.7325, allocations: 64.64 kB / 0.948 GB, free: 7.742 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.7327, allocations: 80.88 kB / 0.9481 GB, free: 7.664 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.782e-05/0.7327, allocations: 36.05 kB / 0.9482 GB, free: 7.629 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0004845/0.7332, allocations: 459 kB / 0.9486 GB, free: 7.188 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7332, allocations: 2.062 kB / 0.9486 GB, free: 7.188 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0007374/0.734, allocations: 335.1 kB / 0.9489 GB, free: 6.859 MB / 0.7012 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 (100): * Single equations (assignments): 93 * 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.001245/0.7352, allocations: 0.6044 MB / 0.9495 GB, free: 6.43 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001547/0.7368, allocations: 0.8751 MB / 0.9504 GB, free: 5.543 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7368, allocations: 0 / 0.9504 GB, free: 5.543 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0008799/0.7377, allocations: 0.5473 MB / 0.9509 GB, free: 4.98 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.7388, allocations: 306.2 kB / 0.9512 GB, free: 4.711 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003392/0.7422, allocations: 1.806 MB / 0.953 GB, free: 2.883 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005338/0.7428, allocations: 1.039 MB / 0.954 GB, free: 1.816 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0006943/0.7435, allocations: 270.9 kB / 0.9542 GB, free: 1.547 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002566/0.7437, allocations: 111.4 kB / 0.9543 GB, free: 1.438 MB / 0.7012 GB Notification: Performance of SimCode: time 3.81e-07/0.7437, allocations: 0 / 0.9543 GB, free: 1.438 MB / 0.7012 GB Notification: Performance of Templates: time 0.02304/0.7668, allocations: 15.24 MB / 0.9692 GB, free: 2.391 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)