Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7947/0.7947, allocations: 143.4 MB / 159.2 MB, free: 4.895 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 180.5 kB / 191.9 MB, free: 5.727 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 447.3 MB, free: 5.867 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 95.77 kB / 0.517 GB, free: 3.719 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001803/0.001803, allocations: 276.7 kB / 0.5973 GB, free: 49.39 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 75.89 kB / 0.6885 GB, free: 3.859 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3185, allocations: 81.3 MB / 0.7679 GB, free: 27.67 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.004515/0.3231, allocations: 4.175 MB / 0.772 GB, free: 23.49 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.4522/0.7753, allocations: 148.3 MB / 0.9169 GB, free: 15.95 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007833/0.7761, allocations: 20.56 kB / 0.9169 GB, free: 15.94 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005444/0.7767, allocations: 134 kB / 0.917 GB, free: 15.94 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.001478/0.7783, allocations: 408.3 kB / 0.9174 GB, free: 15.94 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001822/0.7801, allocations: 0.6908 MB / 0.9181 GB, free: 15.93 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.001503/0.7816, allocations: 1.14 MB / 0.9192 GB, free: 15.91 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008492/0.7825, allocations: 0.6077 MB / 0.9198 GB, free: 15.78 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006037/0.7831, allocations: 390.6 kB / 0.9202 GB, free: 15.78 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004546/0.7835, allocations: 434.6 kB / 0.9206 GB, free: 15.78 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001043/0.7836, allocations: 50.31 kB / 0.9206 GB, free: 15.78 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008165/0.7845, allocations: 393.8 kB / 0.921 GB, free: 15.77 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002251/0.7847, allocations: 228.8 kB / 0.9212 GB, free: 15.77 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004322/0.7852, allocations: 459.2 kB / 0.9216 GB, free: 15.77 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001634/0.7868, allocations: 1.418 MB / 0.923 GB, free: 15.68 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.7868, allocations: 0.5 kB / 0.923 GB, free: 15.68 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.002e-06/0.7868, allocations: 0.5 kB / 0.923 GB, free: 15.68 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.369e-05/0.7868, allocations: 0 / 0.923 GB, free: 15.68 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.002368/0.7892, allocations: 1.346 MB / 0.9243 GB, free: 14.94 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.7893, allocations: 9 kB / 0.9244 GB, free: 14.94 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009247/0.7902, allocations: 177.2 kB / 0.9245 GB, free: 14.88 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.7912, allocations: 0.7073 MB / 0.9252 GB, free: 14.58 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.162e-05/0.7913, allocations: 68.2 kB / 0.9253 GB, free: 14.58 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-05/0.7914, allocations: 75.75 kB / 0.9254 GB, free: 14.58 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/0.7929, allocations: 0.8928 MB / 0.9262 GB, free: 14.43 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.7929, allocations: 0 / 0.9262 GB, free: 14.43 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.532e-05/0.793, allocations: 35 kB / 0.9263 GB, free: 14.43 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.959e-05/0.793, allocations: 23.09 kB / 0.9263 GB, free: 14.42 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001617/0.7947, allocations: 1.092 MB / 0.9273 GB, free: 14.42 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003721/0.7984, allocations: 2.496 MB / 0.9298 GB, free: 13.64 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/0.7997, allocations: 0.7305 MB / 0.9305 GB, free: 13.61 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004583/0.8001, allocations: 287.9 kB / 0.9308 GB, free: 13.6 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 7.821e-05/0.8002, allocations: 32.64 kB / 0.9308 GB, free: 13.6 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008396/0.8011, allocations: 450.7 kB / 0.9312 GB, free: 13.52 MB / 0.573 GB Notification: Performance of pre-optimization done (n=76): time 2.655e-06/0.8011, allocations: 0 / 0.9312 GB, free: 13.52 MB / 0.573 GB Notification: Performance of matching and sorting (n=76): time 0.003013/0.8041, allocations: 1.113 MB / 0.9323 GB, free: 13.32 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.8042, allocations: 193.8 kB / 0.9325 GB, free: 13.11 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009503/0.8052, allocations: 0.6061 MB / 0.9331 GB, free: 12.97 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 6.647e-05/0.8053, allocations: 41.77 kB / 0.9331 GB, free: 12.94 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003131/0.8056, allocations: 384.3 kB / 0.9335 GB, free: 12.75 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000209/0.8058, allocations: 248.7 kB / 0.9337 GB, free: 12.6 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002562/0.8061, allocations: 157.9 kB / 0.9339 GB, free: 12.57 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.8062, allocations: 381.9 kB / 0.9343 GB, free: 12.26 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004749/0.8067, allocations: 250.4 kB / 0.9345 GB, free: 12.26 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005308/0.8072, allocations: 345.9 kB / 0.9348 GB, free: 12.21 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009729/0.8082, allocations: 0.5915 MB / 0.9354 GB, free: 12.16 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.8082, allocations: 0 / 0.9354 GB, free: 12.16 MB / 0.573 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001729/0.81, allocations: 0.8133 MB / 0.9362 GB, free: 12.05 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.81, allocations: 6.797 kB / 0.9362 GB, free: 12.05 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.81, allocations: 0 / 0.9362 GB, free: 12.05 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005916/0.8106, allocations: 80 kB / 0.9363 GB, free: 12.04 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006029/0.8112, allocations: 159 kB / 0.9364 GB, free: 12.04 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001933/0.8132, allocations: 1.526 MB / 0.9379 GB, free: 10.73 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006563/0.8138, allocations: 83.91 kB / 0.938 GB, free: 10.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.444e-05/0.8139, allocations: 37.31 kB / 0.938 GB, free: 10.7 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (89): * Single equations (assignments): 88 * 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.0004019/0.8143, allocations: 246.8 kB / 0.9383 GB, free: 10.59 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/0.8145, allocations: 82.58 kB / 0.9384 GB, free: 10.55 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002135/0.8166, allocations: 1.023 MB / 0.9394 GB, free: 10.41 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/0.8166, allocations: 12.41 kB / 0.9394 GB, free: 10.41 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.8166, allocations: 4.953 kB / 0.9394 GB, free: 10.41 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.886e-06/0.8166, allocations: 2.625 kB / 0.9394 GB, free: 10.41 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002859/0.8195, allocations: 1.88 MB / 0.9412 GB, free: 10.05 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/0.8195, allocations: 0 / 0.9412 GB, free: 10.05 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005327/0.8201, allocations: 148.4 kB / 0.9413 GB, free: 10.05 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005013/0.8206, allocations: 86.75 kB / 0.9414 GB, free: 10.04 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.294e-05/0.8206, allocations: 27.25 kB / 0.9415 GB, free: 10.03 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001633/0.8223, allocations: 1.552 MB / 0.943 GB, free: 8.727 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.8223, allocations: 0 / 0.943 GB, free: 8.727 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002614/0.8249, allocations: 1.943 MB / 0.9449 GB, free: 7.91 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003516/0.8253, allocations: 262.7 kB / 0.9451 GB, free: 7.762 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.8254, allocations: 24.34 kB / 0.9451 GB, free: 7.758 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005502/0.826, allocations: 51.38 kB / 0.9452 GB, free: 7.758 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.8261, allocations: 61.08 kB / 0.9452 GB, free: 7.754 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-05/0.8262, allocations: 31.27 kB / 0.9453 GB, free: 7.754 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0004622/0.8266, allocations: 442.4 kB / 0.9457 GB, free: 7.664 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8266, allocations: 1.812 kB / 0.9457 GB, free: 7.664 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0009401/0.8276, allocations: 302.5 kB / 0.946 GB, free: 7.609 MB / 0.573 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 (87): * Single equations (assignments): 84 * 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.001257/0.8288, allocations: 0.5973 MB / 0.9466 GB, free: 7.391 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001455/0.8303, allocations: 0.7853 MB / 0.9473 GB, free: 7.254 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.8303, allocations: 5.344 kB / 0.9473 GB, free: 7.254 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007719/0.8311, allocations: 495.5 kB / 0.9478 GB, free: 7.141 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.8323, allocations: 266.6 kB / 0.9481 GB, free: 7.121 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003954/0.8362, allocations: 2.533 MB / 0.9505 GB, free: 5.883 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005148/0.8368, allocations: 1.027 MB / 0.9515 GB, free: 5.172 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0008388/0.8376, allocations: 257.2 kB / 0.9518 GB, free: 5.098 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002445/0.8379, allocations: 97.88 kB / 0.9519 GB, free: 5.09 MB / 0.573 GB Notification: Performance of SimCode: time 1.984e-06/0.8379, allocations: 3.062 kB / 0.9519 GB, free: 5.09 MB / 0.573 GB Notification: Performance of Templates: time 0.02121/0.8591, allocations: 13.98 MB / 0.9655 GB, free: 14.72 MB / 0.5886 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)