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.7118/0.7118, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009122/0.0009123, allocations: 186.9 kB / 187.3 MB, free: 11.89 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.329/1.329, allocations: 221.3 MB / 441.4 MB, free: 4.586 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.000936/0.000936, allocations: 92.66 kB / 0.5124 GB, free: 24.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001727/0.001727, allocations: 278.9 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.735e-05/2.737e-05, allocations: 4 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3711, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.438/3.809, allocations: 1.692 GB / 2.456 GB, free: 50.79 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/3.81, allocations: 93.52 kB / 2.457 GB, free: 50.75 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5061/4.316, allocations: 59.74 MB / 2.515 GB, free: 235.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.104e-06/4.316, allocations: 0 / 2.515 GB, free: 235.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.67e-05/4.316, allocations: 27.34 kB / 2.515 GB, free: 235.7 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.002049/4.318, allocations: 1.076 MB / 2.516 GB, free: 235.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.068e-05/4.318, allocations: 9.469 kB / 2.516 GB, free: 235.1 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000185/4.318, allocations: 132.3 kB / 2.516 GB, free: 235.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009558/4.319, allocations: 194.7 kB / 2.516 GB, free: 235 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/4.321, allocations: 0.6092 MB / 2.517 GB, free: 234.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-05/4.321, allocations: 64.16 kB / 2.517 GB, free: 234.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001549/4.321, allocations: 78.88 kB / 2.517 GB, free: 234.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/4.323, allocations: 0.8543 MB / 2.518 GB, free: 234.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/4.323, allocations: 0.6562 kB / 2.518 GB, free: 234.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.408e-05/4.323, allocations: 34.53 kB / 2.518 GB, free: 234.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.819e-05/4.323, allocations: 20.03 kB / 2.518 GB, free: 234.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001966/4.325, allocations: 1.062 MB / 2.519 GB, free: 234.6 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005158/4.33, allocations: 2.535 MB / 2.521 GB, free: 233.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001811/4.332, allocations: 0.7035 MB / 2.522 GB, free: 233.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006602/4.332, allocations: 274.7 kB / 2.522 GB, free: 233.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001259/4.333, allocations: 33.52 kB / 2.522 GB, free: 233.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009673/4.334, allocations: 418.9 kB / 2.523 GB, free: 233.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 4.539e-06/4.334, allocations: 1.156 kB / 2.523 GB, free: 233.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.002214/4.336, allocations: 0.7149 MB / 2.523 GB, free: 233.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/4.336, allocations: 248 kB / 2.524 GB, free: 233.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009105/4.337, allocations: 0.5847 MB / 2.524 GB, free: 233.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.759e-05/4.337, allocations: 45.8 kB / 2.524 GB, free: 233.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002835/4.337, allocations: 378 kB / 2.525 GB, free: 233.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001727/4.337, allocations: 251.1 kB / 2.525 GB, free: 233 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-05/4.337, allocations: 13.97 kB / 2.525 GB, free: 233 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001235/4.338, allocations: 380.5 kB / 2.525 GB, free: 232.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003512/4.338, allocations: 208.3 kB / 2.526 GB, free: 232.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004731/4.338, allocations: 325.8 kB / 2.526 GB, free: 232.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004335/4.339, allocations: 262 kB / 2.526 GB, free: 232.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/4.339, allocations: 0 / 2.526 GB, free: 232.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001695/4.341, allocations: 0.7222 MB / 2.527 GB, free: 232.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.507e-05/4.341, allocations: 11.62 kB / 2.527 GB, free: 232.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/4.341, allocations: 6.5 kB / 2.527 GB, free: 232.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006529/4.341, allocations: 82.55 kB / 2.527 GB, free: 232.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006482/4.342, allocations: 152 kB / 2.527 GB, free: 232.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001915/4.344, allocations: 1.508 MB / 2.528 GB, free: 231.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007364/4.345, allocations: 85.02 kB / 2.529 GB, free: 231.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-05/4.345, allocations: 30.7 kB / 2.529 GB, free: 231.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.0001961/4.345, allocations: 149.1 kB / 2.529 GB, free: 231 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/4.345, allocations: 80.94 kB / 2.529 GB, free: 231 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002193/4.347, allocations: 1.004 MB / 2.53 GB, free: 230.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/4.347, allocations: 13.84 kB / 2.53 GB, free: 230.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/4.347, allocations: 0 / 2.53 GB, free: 230.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/4.347, allocations: 3.703 kB / 2.53 GB, free: 230.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0028/4.35, allocations: 1.887 MB / 2.532 GB, free: 230.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/4.35, allocations: 2.5 kB / 2.532 GB, free: 230.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005449/4.351, allocations: 149.7 kB / 2.532 GB, free: 230.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004609/4.351, allocations: 86.33 kB / 2.532 GB, free: 230.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.855e-05/4.351, allocations: 20.95 kB / 2.532 GB, free: 230.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001438/4.353, allocations: 1.54 MB / 2.533 GB, free: 229.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/4.353, allocations: 0 / 2.533 GB, free: 229.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001372/4.354, allocations: 0.8854 MB / 2.534 GB, free: 229 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000357/4.354, allocations: 300 kB / 2.535 GB, free: 228.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.726e-05/4.355, allocations: 16.88 kB / 2.535 GB, free: 228.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000531/4.355, allocations: 67.3 kB / 2.535 GB, free: 228.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/4.355, allocations: 69.69 kB / 2.535 GB, free: 228.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.334e-05/4.355, allocations: 28.19 kB / 2.535 GB, free: 228.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005313/4.356, allocations: 491.2 kB / 2.535 GB, free: 228.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.1e-07/4.356, allocations: 2.156 kB / 2.535 GB, free: 228.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001054/4.357, allocations: 354.7 kB / 2.536 GB, free: 228.7 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.003169/4.36, allocations: 2.357 MB / 2.538 GB, free: 227.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001133/4.361, allocations: 0.7088 MB / 2.539 GB, free: 227.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/4.361, allocations: 0 / 2.539 GB, free: 227.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006138/4.362, allocations: 481.6 kB / 2.539 GB, free: 227.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009981/4.363, allocations: 239.7 kB / 2.539 GB, free: 227.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003385/4.366, allocations: 1.576 MB / 2.541 GB, free: 227.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/4.367, allocations: 1.027 MB / 2.542 GB, free: 226.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007962/4.367, allocations: 266.4 kB / 2.542 GB, free: 226.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004732/4.368, allocations: 361.7 kB / 2.542 GB, free: 226.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.693e-06/4.368, allocations: 0 / 2.542 GB, free: 226.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04828/4.416, allocations: 31.39 MB / 2.573 GB, free: 215.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002184/4.416, allocations: 264.8 kB / 2.573 GB, free: 214.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.01/7.427, allocations: 0 / 2.573 GB, free: 214.8 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)