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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001306/0.001306, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.444/1.444, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002276/0.002276, allocations: 293.8 kB / 291.3 MB, free: 14.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.087/1.087, allocations: 169.3 MB / 0.4988 GB, free: 4.508 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002281/0.002281, allocations: 99.27 kB / 0.5959 GB, free: 15.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2417, allocations: 86.98 MB / 0.6808 GB, free: 8.207 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.007903/0.2496, allocations: 4.455 MB / 0.6852 GB, free: 3.723 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.6223/0.8719, allocations: 150.8 MB / 0.8324 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001323/0.8733, allocations: 19.88 kB / 0.8324 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00102/0.8744, allocations: 177.3 kB / 0.8326 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002776/0.8773, allocations: 0.5256 MB / 0.8331 GB, free: 2.914 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002813/0.8801, allocations: 0.8417 MB / 0.8339 GB, free: 2.102 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00229/0.8824, allocations: 1.371 MB / 0.8353 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001391/0.8838, allocations: 0.6259 MB / 0.8359 GB, free: 84 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001138/0.8849, allocations: 0.4906 MB / 0.8364 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/0.886, allocations: 0.5172 MB / 0.8369 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000407/0.8864, allocations: 120 kB / 0.837 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001429/0.8878, allocations: 471.5 kB / 0.8374 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005313/0.8884, allocations: 303 kB / 0.8377 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001039/0.8894, allocations: 0.5673 MB / 0.8383 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002972/0.8924, allocations: 1.615 MB / 0.8399 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.8924, allocations: 4 kB / 0.8399 GB, free: 12 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.615e-06/0.8925, allocations: 0 / 0.8399 GB, free: 12 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.389e-05/0.8925, allocations: 0 / 0.8399 GB, free: 12 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.00405/0.8966, allocations: 1.464 MB / 0.8413 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/0.8966, allocations: 12.03 kB / 0.8413 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001269/0.8979, allocations: 195.3 kB / 0.8415 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001563/0.8995, allocations: 0.7549 MB / 0.8422 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.504e-05/0.8996, allocations: 66 kB / 0.8423 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001787/0.8998, allocations: 88 kB / 0.8424 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002143/0.9019, allocations: 0.9664 MB / 0.8433 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/0.902, allocations: 7.922 kB / 0.8433 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001177/0.9021, allocations: 40 kB / 0.8434 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.543e-05/0.9021, allocations: 20 kB / 0.8434 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001992/0.9041, allocations: 1.159 MB / 0.8445 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00522/0.9094, allocations: 2.668 MB / 0.8471 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001798/0.9112, allocations: 0.8433 MB / 0.848 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006392/0.9119, allocations: 326.6 kB / 0.8483 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.275e-05/0.912, allocations: 40.61 kB / 0.8483 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001102/0.9131, allocations: 0.5276 MB / 0.8488 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=88): time 3.196e-06/0.9131, allocations: 0 / 0.8488 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of matching and sorting (n=88): time 0.003713/0.9168, allocations: 1.282 MB / 0.8501 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/0.917, allocations: 196.8 kB / 0.8503 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.9182, allocations: 0.6644 MB / 0.8509 GB, free: 412 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.476e-05/0.9183, allocations: 45.64 kB / 0.8509 GB, free: 360 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004458/0.9187, allocations: 410 kB / 0.8513 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002862/0.919, allocations: 279.9 kB / 0.8516 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000341/0.9194, allocations: 182.5 kB / 0.8518 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001909/0.9196, allocations: 386.8 kB / 0.8521 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006377/0.9202, allocations: 289.8 kB / 0.8524 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007339/0.921, allocations: 391.1 kB / 0.8528 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/0.9223, allocations: 0.6633 MB / 0.8534 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.9223, allocations: 0 / 0.8534 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002377/0.9247, allocations: 0.9151 MB / 0.8543 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.9247, allocations: 4 kB / 0.8543 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.9247, allocations: 7.875 kB / 0.8544 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000643/0.9254, allocations: 80.84 kB / 0.8544 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007766/0.9262, allocations: 179.8 kB / 0.8546 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002304/0.9285, allocations: 1.627 MB / 0.8562 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009862/0.9295, allocations: 103.4 kB / 0.8563 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/0.9296, allocations: 39.97 kB / 0.8563 GB, free: 10.63 MB / 0.6231 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 (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 (105): * Single equations (assignments): 104 * 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.0006591/0.9303, allocations: 276.9 kB / 0.8566 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003239/0.9306, allocations: 90.88 kB / 0.8567 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002907/0.9335, allocations: 1.169 MB / 0.8578 GB, free: 9.078 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.9336, allocations: 11.94 kB / 0.8578 GB, free: 9.066 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.9336, allocations: 0 / 0.8578 GB, free: 9.066 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.9336, allocations: 3.984 kB / 0.8578 GB, free: 9.062 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001443/0.935, allocations: 0.9462 MB / 0.8588 GB, free: 8.066 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/0.9351, allocations: 0 / 0.8588 GB, free: 8.066 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006565/0.9357, allocations: 159.7 kB / 0.8589 GB, free: 7.91 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004731/0.9362, allocations: 72.78 kB / 0.859 GB, free: 7.836 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.319e-05/0.9363, allocations: 23.98 kB / 0.859 GB, free: 7.812 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002106/0.9384, allocations: 1.666 MB / 0.8606 GB, free: 6 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.9384, allocations: 0 / 0.8606 GB, free: 6 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002384/0.9408, allocations: 0.9942 MB / 0.8616 GB, free: 4.98 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000551/0.9414, allocations: 279.7 kB / 0.8619 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002402/0.9416, allocations: 27.94 kB / 0.8619 GB, free: 4.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007978/0.9425, allocations: 67.92 kB / 0.862 GB, free: 4.594 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002062/0.9427, allocations: 84.77 kB / 0.862 GB, free: 4.512 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.08e-05/0.9428, allocations: 39.97 kB / 0.8621 GB, free: 4.473 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008208/0.9436, allocations: 475 kB / 0.8625 GB, free: 4.016 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.91e-07/0.9436, allocations: 0 / 0.8625 GB, free: 4.016 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001163/0.9448, allocations: 331.2 kB / 0.8628 GB, free: 3.691 MB / 0.6231 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.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.001774/0.9466, allocations: 0.6016 MB / 0.8634 GB, free: 3.266 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002945/0.9495, allocations: 1.109 MB / 0.8645 GB, free: 2.145 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.9496, allocations: 0 / 0.8645 GB, free: 2.145 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00117/0.9507, allocations: 0.547 MB / 0.865 GB, free: 1.586 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001596/0.9523, allocations: 297.8 kB / 0.8653 GB, free: 1.32 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005774/0.9581, allocations: 1.898 MB / 0.8672 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008709/0.959, allocations: 1.039 MB / 0.8682 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004371/0.9595, allocations: 127.4 kB / 0.8683 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of SimCode: time 1.102e-06/0.9595, allocations: 0 / 0.8683 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of Templates: time 0.0346/0.9941, allocations: 19.19 MB / 0.8871 GB, free: 11.1 MB / 0.6544 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)