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: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9001/0.9001, allocations: 141.8 MB / 149.3 MB, free: 9.219 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.001012/0.001012, allocations: 180.9 kB / 182.2 MB, free: 9.461 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.501/1.501, allocations: 221.5 MB / 436.4 MB, free: 13.33 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: 88.11 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001982/0.001982, allocations: 272.1 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.331e-05/2.332e-05, allocations: 0 / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5977/0.5978, allocations: 82.77 MB / 0.7575 GB, free: 31.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.575/5.173, allocations: 1.691 GB / 2.449 GB, free: 59.06 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003416/5.173, allocations: 95.12 kB / 2.449 GB, free: 59.01 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1265/5.3, allocations: 58.88 MB / 2.507 GB, free: 5.297 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.623e-06/5.3, allocations: 0 / 2.507 GB, free: 5.297 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.558e-05/5.3, allocations: 31.94 kB / 2.507 GB, free: 5.266 MB / 0.698 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.001762/5.301, allocations: 1.082 MB / 2.508 GB, free: 4.133 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/5.302, allocations: 8.031 kB / 2.508 GB, free: 4.125 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008679/5.302, allocations: 186.5 kB / 2.508 GB, free: 3.941 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009356/5.303, allocations: 0.6153 MB / 2.508 GB, free: 3.281 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.177e-05/5.303, allocations: 28 kB / 2.508 GB, free: 3.254 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.437e-05/5.303, allocations: 51.94 kB / 2.508 GB, free: 3.203 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001346/5.305, allocations: 1.007 MB / 2.509 GB, free: 2.195 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/5.306, allocations: 0.7467 MB / 2.51 GB, free: 1.41 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/5.306, allocations: 3.938 kB / 2.51 GB, free: 1.406 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.81e-05/5.306, allocations: 0 / 2.51 GB, free: 1.406 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/5.306, allocations: 20 kB / 2.51 GB, free: 1.387 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4146/5.721, allocations: 2.363 MB / 2.512 GB, free: 235.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/5.722, allocations: 0.6648 MB / 2.513 GB, free: 235.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003884/5.722, allocations: 247.4 kB / 2.513 GB, free: 235.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.546e-05/5.722, allocations: 37.17 kB / 2.513 GB, free: 235.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006957/5.723, allocations: 408 kB / 2.514 GB, free: 235.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 3.557e-06/5.723, allocations: 0 / 2.514 GB, free: 235.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.001763/5.725, allocations: 0.6696 MB / 2.514 GB, free: 235.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.905e-05/5.725, allocations: 240.8 kB / 2.515 GB, free: 235.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007884/5.726, allocations: 0.4992 MB / 2.515 GB, free: 235.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.37e-05/5.726, allocations: 27.3 kB / 2.515 GB, free: 235.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002897/5.726, allocations: 382.9 kB / 2.516 GB, free: 235 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001706/5.726, allocations: 247.6 kB / 2.516 GB, free: 234.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/5.726, allocations: 0 / 2.516 GB, free: 234.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001154/5.726, allocations: 376.7 kB / 2.516 GB, free: 234.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003112/5.727, allocations: 197.2 kB / 2.516 GB, free: 234.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003955/5.727, allocations: 303.1 kB / 2.517 GB, free: 234.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004264/5.728, allocations: 247 kB / 2.517 GB, free: 234.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/5.728, allocations: 0.5312 kB / 2.517 GB, free: 234.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001619/5.729, allocations: 0.6748 MB / 2.518 GB, free: 234.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/5.729, allocations: 10.81 kB / 2.518 GB, free: 234.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/5.729, allocations: 1.219 kB / 2.518 GB, free: 234.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005972/5.73, allocations: 84.47 kB / 2.518 GB, free: 234.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006328/5.731, allocations: 147.3 kB / 2.518 GB, free: 234.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001672/5.732, allocations: 1.457 MB / 2.519 GB, free: 233.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006161/5.733, allocations: 65.25 kB / 2.519 GB, free: 233.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.759e-05/5.733, allocations: 28.69 kB / 2.519 GB, free: 233.1 MB / 0.698 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.0001674/5.733, allocations: 115.6 kB / 2.519 GB, free: 233 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001566/5.735, allocations: 0.6709 MB / 2.52 GB, free: 232.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/5.735, allocations: 77.73 kB / 2.52 GB, free: 232.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002314/5.737, allocations: 0.9366 MB / 2.521 GB, free: 232.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/5.737, allocations: 12.62 kB / 2.521 GB, free: 232.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/5.737, allocations: 0.9375 kB / 2.521 GB, free: 232.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.41e-05/5.737, allocations: 6.797 kB / 2.521 GB, free: 232.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003185/5.74, allocations: 1.716 MB / 2.523 GB, free: 232.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/5.74, allocations: 0 / 2.523 GB, free: 232.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006562/5.741, allocations: 147.9 kB / 2.523 GB, free: 232.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005321/5.742, allocations: 85.64 kB / 2.523 GB, free: 232.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.904e-05/5.742, allocations: 15.27 kB / 2.523 GB, free: 232.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001629/5.743, allocations: 1.48 MB / 2.524 GB, free: 231.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/5.743, allocations: 0 / 2.524 GB, free: 231.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/5.745, allocations: 0.8367 MB / 2.525 GB, free: 231 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003334/5.745, allocations: 281.4 kB / 2.525 GB, free: 230.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/5.745, allocations: 6.172 kB / 2.526 GB, free: 230.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005512/5.746, allocations: 48.97 kB / 2.526 GB, free: 230.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/5.746, allocations: 65.64 kB / 2.526 GB, free: 230.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.83e-05/5.746, allocations: 33.83 kB / 2.526 GB, free: 230.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004489/5.747, allocations: 414.8 kB / 2.526 GB, free: 230.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.71e-07/5.747, allocations: 0 / 2.526 GB, free: 230.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001068/5.748, allocations: 338.5 kB / 2.526 GB, free: 230.8 MB / 0.698 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.003181/5.751, allocations: 2.354 MB / 2.529 GB, free: 230 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001149/5.752, allocations: 0.6701 MB / 2.529 GB, free: 229.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/5.752, allocations: 3.844 kB / 2.529 GB, free: 229.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006332/5.753, allocations: 455.1 kB / 2.53 GB, free: 229.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/5.754, allocations: 224.8 kB / 2.53 GB, free: 229.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003554/5.757, allocations: 1.493 MB / 2.531 GB, free: 229.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003827/5.758, allocations: 1.031 MB / 2.532 GB, free: 228.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007709/5.759, allocations: 252.2 kB / 2.533 GB, free: 228.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004347/5.759, allocations: 360.8 kB / 2.533 GB, free: 228.6 MB / 0.698 GB Notification: Performance of SimCode: time 6.72e-07/5.759, allocations: 0 / 2.533 GB, free: 228.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04885/5.808, allocations: 23.49 MB / 2.556 GB, free: 227 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001836/5.808, allocations: 222.5 kB / 2.556 GB, free: 226.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.757/8.565, allocations: 0 / 2.556 GB, free: 226.7 MB / 0.698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)