Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.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/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.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001138, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001649/0.001649, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001715/0.001715, allocations: 274.8 kB / 291.4 MB, free: 1.973 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9663/0.9663, allocations: 169.5 MB / 0.5 GB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006363/0.0006365, allocations: 13.09 kB / 0.598 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2143, allocations: 88.55 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.00594/0.2203, allocations: 3.787 MB / 0.6882 GB, free: 11.68 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5677/0.788, allocations: 136.8 MB / 0.8218 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000669/0.7887, allocations: 18.09 kB / 0.8218 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004496/0.7892, allocations: 130.2 kB / 0.8219 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001395/0.7906, allocations: 426.9 kB / 0.8223 GB, free: 384 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001879/0.7925, allocations: 0.641 MB / 0.8229 GB, free: 228 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001355/0.7939, allocations: 1.156 MB / 0.8241 GB, free: 16 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007615/0.7946, allocations: 485.7 kB / 0.8245 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006323/0.7953, allocations: 341.9 kB / 0.8249 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004907/0.7958, allocations: 377.2 kB / 0.8252 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.117e-05/0.7959, allocations: 26.12 kB / 0.8252 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009005/0.7968, allocations: 339 kB / 0.8256 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002061/0.797, allocations: 192.3 kB / 0.8257 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002193/0.7972, allocations: 202.6 kB / 0.8259 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001288/0.7985, allocations: 1.177 MB / 0.8271 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.7985, allocations: 1.094 kB / 0.8271 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7985, allocations: 3.938 kB / 0.8271 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.812e-05/0.7986, allocations: 0 / 0.8271 GB, free: 14.85 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.00232/0.8009, allocations: 1.245 MB / 0.8283 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.8009, allocations: 8.938 kB / 0.8283 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008552/0.8018, allocations: 200.1 kB / 0.8285 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.8028, allocations: 0.7289 MB / 0.8292 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.156e-05/0.8029, allocations: 66.88 kB / 0.8293 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.905e-05/0.803, allocations: 81.28 kB / 0.8294 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/0.8045, allocations: 0.9386 MB / 0.8303 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/0.8046, allocations: 4 kB / 0.8303 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.499e-05/0.8046, allocations: 33.94 kB / 0.8303 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/0.8047, allocations: 22.8 kB / 0.8303 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001505/0.8062, allocations: 1.126 MB / 0.8314 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0036/0.8098, allocations: 2.569 MB / 0.8339 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001338/0.8111, allocations: 0.9005 MB / 0.8348 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004797/0.8116, allocations: 327.6 kB / 0.8351 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.06e-05/0.8117, allocations: 29.25 kB / 0.8352 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008299/0.8126, allocations: 0.514 MB / 0.8357 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=84): time 2.745e-06/0.8126, allocations: 0 / 0.8357 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=84): time 0.002706/0.8153, allocations: 1.251 MB / 0.8369 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.062e-05/0.8154, allocations: 194.7 kB / 0.8371 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006954/0.8161, allocations: 0.6354 MB / 0.8377 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.202e-05/0.8162, allocations: 46.31 kB / 0.8377 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002602/0.8164, allocations: 406.4 kB / 0.8381 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001923/0.8166, allocations: 264.1 kB / 0.8384 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.053e-05/0.8167, allocations: 16.06 kB / 0.8384 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.8168, allocations: 391.6 kB / 0.8388 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004657/0.8173, allocations: 276.3 kB / 0.839 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005361/0.8179, allocations: 379.3 kB / 0.8394 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005109/0.8184, allocations: 318 kB / 0.8397 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.8184, allocations: 4 kB / 0.8397 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001662/0.8201, allocations: 0.8759 MB / 0.8406 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.8201, allocations: 7.812 kB / 0.8406 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.902e-06/0.8201, allocations: 0 / 0.8406 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000526/0.8206, allocations: 91.36 kB / 0.8407 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006303/0.8213, allocations: 169.9 kB / 0.8408 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001794/0.8231, allocations: 1.522 MB / 0.8423 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007255/0.8238, allocations: 108.5 kB / 0.8424 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-05/0.8239, allocations: 38.62 kB / 0.8424 GB, free: 7.176 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.decAng.tNext,decAng.tNext,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000441/0.8244, allocations: 276.9 kB / 0.8427 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.8245, allocations: 84.38 kB / 0.8428 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002264/0.8267, allocations: 1.16 MB / 0.8439 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.8268, allocations: 11.97 kB / 0.8439 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.8268, allocations: 2.906 kB / 0.8439 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.978e-06/0.8268, allocations: 3.984 kB / 0.8439 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003008/0.8298, allocations: 2.021 MB / 0.8459 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.8298, allocations: 0 / 0.8459 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005506/0.8304, allocations: 156.4 kB / 0.8461 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004316/0.8308, allocations: 89.45 kB / 0.8461 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.617e-05/0.8309, allocations: 26.45 kB / 0.8462 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001702/0.8326, allocations: 1.546 MB / 0.8477 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.8326, allocations: 0 / 0.8477 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001879/0.8345, allocations: 1.052 MB / 0.8487 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000453/0.835, allocations: 286.1 kB / 0.849 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/0.8351, allocations: 29.28 kB / 0.849 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006355/0.8357, allocations: 82.5 kB / 0.8491 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001712/0.8359, allocations: 82.56 kB / 0.8492 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.082e-05/0.836, allocations: 38.94 kB / 0.8492 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006671/0.8367, allocations: 454.3 kB / 0.8496 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8367, allocations: 7.25 kB / 0.8496 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001102/0.8378, allocations: 323.8 kB / 0.8499 GB, free: 2.008 MB / 0.5606 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 (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001437/0.8393, allocations: 0.5933 MB / 0.8505 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001595/0.8409, allocations: 0.8634 MB / 0.8514 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.8409, allocations: 2.5 kB / 0.8514 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008993/0.8418, allocations: 0.5457 MB / 0.8519 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/0.843, allocations: 265.4 kB / 0.8522 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003992/0.847, allocations: 2.244 MB / 0.8544 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006035/0.8476, allocations: 1.039 MB / 0.8554 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009427/0.8486, allocations: 275 kB / 0.8556 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002631/0.8489, allocations: 109.3 kB / 0.8557 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of SimCode: time 1.002e-06/0.8489, allocations: 0 / 0.8557 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of Templates: time 0.02283/0.8717, allocations: 14.06 MB / 0.8695 GB, free: 2.418 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)