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.001097/0.001097, allocations: 182.5 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5135/0.5135, allocations: 91.98 MB / 108.5 MB, free: 13.11 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.55/1.55, allocations: 223.2 MB / 354.3 MB, free: 10.45 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 99.19 kB / 427.4 MB, free: 2.148 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003311/0.0003312, allocations: 8 kB / 0.4983 GB, free: 41.99 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1607, allocations: 72.3 MB / 0.5689 GB, free: 1.621 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.18/4.341, allocations: 1.685 GB / 2.254 GB, free: 215.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003347/4.341, allocations: 103 kB / 2.254 GB, free: 215.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1309/4.472, allocations: 60.03 MB / 2.313 GB, free: 155.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.138e-06/4.472, allocations: 0 / 2.313 GB, free: 155.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001242/4.472, allocations: 27.92 kB / 2.313 GB, free: 155.1 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.003023/4.475, allocations: 1.197 MB / 2.314 GB, free: 153.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/4.475, allocations: 16.03 kB / 2.314 GB, free: 153.8 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003497/4.475, allocations: 131.1 kB / 2.314 GB, free: 153.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/4.477, allocations: 190.5 kB / 2.314 GB, free: 153.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00131/4.478, allocations: 0.6153 MB / 2.315 GB, free: 152.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.384e-05/4.478, allocations: 58 kB / 2.315 GB, free: 152.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/4.478, allocations: 80 kB / 2.315 GB, free: 152.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001579/4.48, allocations: 0.8871 MB / 2.316 GB, free: 151.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/4.48, allocations: 0 / 2.316 GB, free: 151.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-05/4.48, allocations: 40 kB / 2.316 GB, free: 151.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/4.48, allocations: 20 kB / 2.316 GB, free: 151.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001623/4.481, allocations: 1.1 MB / 2.317 GB, free: 150.6 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004037/4.485, allocations: 2.538 MB / 2.32 GB, free: 148 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001249/4.487, allocations: 0.7457 MB / 2.32 GB, free: 147.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.666e-05/4.487, allocations: 40.59 kB / 2.32 GB, free: 147.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007248/4.488, allocations: 439.3 kB / 2.321 GB, free: 146.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=76): time 3.497e-06/4.488, allocations: 96 / 2.321 GB, free: 146.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=76): time 0.002921/4.491, allocations: 1.136 MB / 2.322 GB, free: 145.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.821e-05/4.491, allocations: 245 kB / 2.322 GB, free: 145.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008787/4.492, allocations: 0.5971 MB / 2.323 GB, free: 144.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.058e-05/4.492, allocations: 37.7 kB / 2.323 GB, free: 144.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002578/4.492, allocations: 380.4 kB / 2.323 GB, free: 144.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000163/4.492, allocations: 248.3 kB / 2.323 GB, free: 144.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/4.492, allocations: 16 kB / 2.323 GB, free: 144 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001169/4.492, allocations: 390.6 kB / 2.324 GB, free: 143.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004086/4.493, allocations: 233.2 kB / 2.324 GB, free: 143.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000476/4.493, allocations: 343.6 kB / 2.324 GB, free: 143.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004697/4.494, allocations: 271.1 kB / 2.325 GB, free: 142.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/4.494, allocations: 11.94 kB / 2.325 GB, free: 142.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001682/4.495, allocations: 0.7549 MB / 2.325 GB, free: 142 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/4.495, allocations: 9.406 kB / 2.325 GB, free: 142 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/4.495, allocations: 0 / 2.325 GB, free: 142 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006258/4.496, allocations: 84.83 kB / 2.325 GB, free: 141.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006055/4.497, allocations: 147.8 kB / 2.326 GB, free: 141.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001883/4.498, allocations: 1.533 MB / 2.327 GB, free: 140.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007449/4.499, allocations: 91.22 kB / 2.327 GB, free: 140 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.473e-05/4.499, allocations: 32.05 kB / 2.327 GB, free: 140 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 () * Number of clocked 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.0005253/4.5, allocations: 253.7 kB / 2.327 GB, free: 139.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002001/4.5, allocations: 83 kB / 2.327 GB, free: 139.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002276/4.502, allocations: 1.045 MB / 2.328 GB, free: 138.6 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/4.502, allocations: 8 kB / 2.328 GB, free: 138.6 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/4.502, allocations: 0 / 2.328 GB, free: 138.6 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/4.502, allocations: 7.984 kB / 2.328 GB, free: 138.6 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003215/4.506, allocations: 1.934 MB / 2.33 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/4.506, allocations: 3.984 kB / 2.33 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005861/4.506, allocations: 155.7 kB / 2.331 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005166/4.507, allocations: 88.77 kB / 2.331 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-05/4.507, allocations: 19.98 kB / 2.331 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00166/4.509, allocations: 1.548 MB / 2.332 GB, free: 134.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/4.509, allocations: 3.953 kB / 2.332 GB, free: 134.6 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001756/4.51, allocations: 0.9298 MB / 2.333 GB, free: 133.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004783/4.511, allocations: 299.6 kB / 2.333 GB, free: 133.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001573/4.511, allocations: 27.89 kB / 2.333 GB, free: 133.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006933/4.512, allocations: 67.94 kB / 2.333 GB, free: 133.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/4.512, allocations: 60.92 kB / 2.333 GB, free: 133.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-05/4.512, allocations: 31.97 kB / 2.334 GB, free: 133.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006444/4.513, allocations: 495 kB / 2.334 GB, free: 132.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/4.513, allocations: 0 / 2.334 GB, free: 132.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001296/4.514, allocations: 363.2 kB / 2.334 GB, free: 132.3 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) * 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 (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.004151/4.518, allocations: 2.436 MB / 2.337 GB, free: 130.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001592/4.52, allocations: 0.7632 MB / 2.337 GB, free: 129.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/4.52, allocations: 0 / 2.337 GB, free: 129.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000809/4.52, allocations: 0.4964 MB / 2.338 GB, free: 128.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/4.522, allocations: 244.8 kB / 2.338 GB, free: 128.6 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009745/4.531, allocations: 5.137 MB / 2.343 GB, free: 123.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004949/4.532, allocations: 1.027 MB / 2.344 GB, free: 122.3 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0009657/4.533, allocations: 250.5 kB / 2.344 GB, free: 122 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005256/4.533, allocations: 363.3 kB / 2.345 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of SimCode: time 1.332e-06/4.533, allocations: 0 / 2.345 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07899/4.612, allocations: 29.62 MB / 2.374 GB, free: 92.34 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002308/4.613, allocations: 284 kB / 2.374 GB, free: 91.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.108/7.72, allocations: 0 / 2.374 GB, free: 91.98 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)