Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.517/0.517, allocations: 90.81 MB / 104.5 MB, free: 9.797 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 221.3 MB / 348.3 MB, free: 456 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009999/0.0009998, allocations: 100.7 kB / 421.2 MB, free: 5.496 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.967e-05/5.008e-05, allocations: 4 kB / 0.4897 GB, free: 5.27 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4953/0.4953, allocations: 72.3 MB / 0.5603 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.407/4.903, allocations: 1.685 GB / 2.245 GB, free: 96.02 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/4.903, allocations: 95.94 kB / 2.246 GB, free: 95.92 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1294/5.033, allocations: 59.73 MB / 2.304 GB, free: 35.98 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.954e-06/5.033, allocations: 0 / 2.304 GB, free: 35.98 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.41e-05/5.033, allocations: 23.98 kB / 2.304 GB, free: 35.95 MB / 0.6042 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.002063/5.035, allocations: 1.078 MB / 2.305 GB, free: 34.83 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/5.035, allocations: 15.98 kB / 2.305 GB, free: 34.81 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002317/5.035, allocations: 123.1 kB / 2.305 GB, free: 34.68 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009849/5.036, allocations: 198.4 kB / 2.305 GB, free: 34.49 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/5.037, allocations: 0.6192 MB / 2.306 GB, free: 33.83 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.41e-05/5.037, allocations: 58 kB / 2.306 GB, free: 33.77 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/5.037, allocations: 80 kB / 2.306 GB, free: 33.69 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/5.039, allocations: 0.856 MB / 2.307 GB, free: 32.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/5.039, allocations: 4 kB / 2.307 GB, free: 32.79 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-05/5.039, allocations: 36 kB / 2.307 GB, free: 32.76 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/5.039, allocations: 20 kB / 2.307 GB, free: 32.74 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001357/5.04, allocations: 1.062 MB / 2.308 GB, free: 31.67 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003645/5.044, allocations: 2.528 MB / 2.31 GB, free: 29.07 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/5.045, allocations: 0.7085 MB / 2.311 GB, free: 28.35 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003568/5.045, allocations: 267.2 kB / 2.311 GB, free: 28.09 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.254e-05/5.045, allocations: 32.72 kB / 2.311 GB, free: 28.06 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000596/5.046, allocations: 421.3 kB / 2.312 GB, free: 27.63 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=76): time 3.006e-06/5.046, allocations: 4 kB / 2.312 GB, free: 27.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=76): time 0.001565/5.048, allocations: 0.708 MB / 2.313 GB, free: 26.91 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/5.048, allocations: 252 kB / 2.313 GB, free: 26.61 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007207/5.048, allocations: 0.5894 MB / 2.313 GB, free: 26.01 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.268e-05/5.048, allocations: 37.7 kB / 2.313 GB, free: 25.97 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/5.049, allocations: 380.3 kB / 2.314 GB, free: 25.59 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/5.049, allocations: 252.3 kB / 2.314 GB, free: 25.34 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/5.049, allocations: 16 kB / 2.314 GB, free: 25.32 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.568e-05/5.049, allocations: 378.7 kB / 2.314 GB, free: 24.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003164/5.049, allocations: 213.5 kB / 2.315 GB, free: 24.73 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003922/5.05, allocations: 329 kB / 2.315 GB, free: 24.38 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004/5.05, allocations: 254 kB / 2.315 GB, free: 24.13 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/5.05, allocations: 0 / 2.315 GB, free: 24.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001442/5.052, allocations: 0.7266 MB / 2.316 GB, free: 23.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/5.052, allocations: 4 kB / 2.316 GB, free: 23.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/5.052, allocations: 0 / 2.316 GB, free: 23.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005723/5.052, allocations: 80.84 kB / 2.316 GB, free: 23.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005879/5.053, allocations: 147.8 kB / 2.316 GB, free: 23.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00171/5.054, allocations: 1.525 MB / 2.318 GB, free: 21.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006743/5.055, allocations: 87.44 kB / 2.318 GB, free: 21.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-05/5.055, allocations: 27.98 kB / 2.318 GB, free: 21.39 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * 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.0001813/5.055, allocations: 150.2 kB / 2.318 GB, free: 21.24 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001809/5.056, allocations: 78.97 kB / 2.318 GB, free: 21.16 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002065/5.058, allocations: 1.001 MB / 2.319 GB, free: 20.14 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/5.058, allocations: 8 kB / 2.319 GB, free: 20.14 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/5.058, allocations: 0 / 2.319 GB, free: 20.14 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/5.058, allocations: 3.984 kB / 2.319 GB, free: 20.13 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002848/5.061, allocations: 1.889 MB / 2.321 GB, free: 18.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/5.061, allocations: 0 / 2.321 GB, free: 18.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005611/5.061, allocations: 155.8 kB / 2.321 GB, free: 18.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004675/5.062, allocations: 80.77 kB / 2.321 GB, free: 17.95 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.898e-05/5.062, allocations: 27.98 kB / 2.321 GB, free: 17.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001506/5.063, allocations: 1.54 MB / 2.322 GB, free: 16.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/5.063, allocations: 7.938 kB / 2.322 GB, free: 16.23 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001499/5.065, allocations: 0.8806 MB / 2.323 GB, free: 15.33 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004641/5.065, allocations: 291.7 kB / 2.324 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001549/5.065, allocations: 19.98 kB / 2.324 GB, free: 15.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006331/5.066, allocations: 71.97 kB / 2.324 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/5.066, allocations: 68.67 kB / 2.324 GB, free: 14.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.819e-05/5.066, allocations: 27.98 kB / 2.324 GB, free: 14.84 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005882/5.067, allocations: 495.1 kB / 2.324 GB, free: 14.36 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.9e-07/5.067, allocations: 0 / 2.324 GB, free: 14.36 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001335/5.068, allocations: 359.2 kB / 2.325 GB, free: 14.01 MB / 0.6042 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) * 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 (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.004552/5.073, allocations: 2.356 MB / 2.327 GB, free: 11.76 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001456/5.074, allocations: 0.7095 MB / 2.328 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.86e-06/5.074, allocations: 4 kB / 2.328 GB, free: 11.03 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007654/5.075, allocations: 483.1 kB / 2.328 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/5.076, allocations: 234.4 kB / 2.328 GB, free: 10.33 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003752/5.08, allocations: 1.572 MB / 2.33 GB, free: 8.715 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004047/5.081, allocations: 1.023 MB / 2.331 GB, free: 7.66 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0007777/5.081, allocations: 258.4 kB / 2.331 GB, free: 7.402 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000451/5.082, allocations: 359.3 kB / 2.331 GB, free: 7.051 MB / 0.6042 GB Notification: Performance of SimCode: time 1.332e-06/5.082, allocations: 0 / 2.331 GB, free: 7.051 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3838/5.466, allocations: 31.35 MB / 2.362 GB, free: 188.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002817/5.466, allocations: 242.4 kB / 2.362 GB, free: 188.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.947/8.413, allocations: 4.609 kB / 2.362 GB, free: 188.1 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)