Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.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.Examples.IncidenceAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_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.9392/0.9392, allocations: 143.3 MB / 158.3 MB, free: 5.805 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.001668/0.001668, allocations: 185 kB / 191.5 MB, free: 5.762 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.599/1.599, allocations: 223.2 MB / 447.7 MB, free: 4.832 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.0008843/0.0008844, allocations: 92.38 kB / 0.5187 GB, free: 1.188 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001904/0.001905, allocations: 283.9 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004972/0.0004973, allocations: 13.81 kB / 0.6929 GB, free: 59.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.203, allocations: 82.79 MB / 0.7738 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.846/4.049, allocations: 1.693 GB / 2.466 GB, free: 61.1 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/4.049, allocations: 90.77 kB / 2.466 GB, free: 61.05 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.5753/4.625, allocations: 94.68 MB / 2.559 GB, free: 232 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.856e-06/4.625, allocations: 0 / 2.559 GB, free: 232 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.000103/4.625, allocations: 34.19 kB / 2.559 GB, free: 232 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.00317/4.628, allocations: 1.529 MB / 2.56 GB, free: 231.3 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/4.628, allocations: 10.56 kB / 2.56 GB, free: 231.3 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003217/4.629, allocations: 214.3 kB / 2.561 GB, free: 231.3 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/4.63, allocations: 254.1 kB / 2.561 GB, free: 231.2 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/4.631, allocations: 0.7739 MB / 2.562 GB, free: 230.9 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/4.631, allocations: 106.1 kB / 2.562 GB, free: 230.9 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001905/4.631, allocations: 139.4 kB / 2.562 GB, free: 230.9 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002473/4.634, allocations: 1.418 MB / 2.563 GB, free: 230.7 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.82e-05/4.634, allocations: 1.344 kB / 2.563 GB, free: 230.7 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/4.634, allocations: 58.38 kB / 2.563 GB, free: 230.7 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.872e-05/4.634, allocations: 33.91 kB / 2.563 GB, free: 230.7 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002632/4.637, allocations: 1.518 MB / 2.565 GB, free: 230.7 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005815/4.643, allocations: 3.832 MB / 2.569 GB, free: 229.8 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/4.644, allocations: 0.9662 MB / 2.57 GB, free: 229.8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.321e-05/4.644, allocations: 47.67 kB / 2.57 GB, free: 229.8 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008639/4.645, allocations: 0.5792 MB / 2.57 GB, free: 229.7 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=104): time 2.855e-06/4.645, allocations: 0 / 2.57 GB, free: 229.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=104): time 0.003424/4.649, allocations: 1.496 MB / 2.572 GB, free: 229.5 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.528e-05/4.649, allocations: 245.6 kB / 2.572 GB, free: 229.2 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009391/4.65, allocations: 0.7408 MB / 2.573 GB, free: 229.1 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.434e-05/4.65, allocations: 48.08 kB / 2.573 GB, free: 229 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003815/4.65, allocations: 0.5534 MB / 2.573 GB, free: 228.8 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002347/4.65, allocations: 345.3 kB / 2.573 GB, free: 228.5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.799e-05/4.65, allocations: 17.53 kB / 2.574 GB, free: 228.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.293e-05/4.65, allocations: 339.1 kB / 2.574 GB, free: 228.2 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006455/4.651, allocations: 342.3 kB / 2.574 GB, free: 228.2 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000736/4.652, allocations: 472.6 kB / 2.575 GB, free: 228.1 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000717/4.653, allocations: 405.4 kB / 2.575 GB, free: 228.1 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/4.653, allocations: 2.5 kB / 2.575 GB, free: 228.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002139/4.655, allocations: 1.071 MB / 2.576 GB, free: 228 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/4.655, allocations: 3.25 kB / 2.576 GB, free: 228 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/4.655, allocations: 3.531 kB / 2.576 GB, free: 228 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006264/4.655, allocations: 88.69 kB / 2.576 GB, free: 228 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009223/4.656, allocations: 213.5 kB / 2.576 GB, free: 228 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001776/4.658, allocations: 1.542 MB / 2.578 GB, free: 226.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000972/4.659, allocations: 119.2 kB / 2.578 GB, free: 226.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.231e-05/4.659, allocations: 47.77 kB / 2.578 GB, free: 226.7 MB / 0.7136 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 (116): * Single equations (assignments): 115 * 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.0006681/4.66, allocations: 312.4 kB / 2.578 GB, free: 226.5 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001899/4.66, allocations: 103.1 kB / 2.578 GB, free: 226.5 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002802/4.663, allocations: 1.418 MB / 2.58 GB, free: 226.3 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/4.663, allocations: 11.81 kB / 2.58 GB, free: 226.3 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/4.663, allocations: 0 / 2.58 GB, free: 226.3 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/4.663, allocations: 3.75 kB / 2.58 GB, free: 226.3 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003951/4.667, allocations: 2.619 MB / 2.582 GB, free: 226 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/4.667, allocations: 0 / 2.582 GB, free: 226 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007838/4.668, allocations: 194.2 kB / 2.583 GB, free: 226 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005156/4.668, allocations: 90.17 kB / 2.583 GB, free: 226 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.69e-05/4.668, allocations: 28.8 kB / 2.583 GB, free: 226 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001588/4.67, allocations: 1.577 MB / 2.584 GB, free: 224.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/4.67, allocations: 0 / 2.584 GB, free: 224.7 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00219/4.672, allocations: 1.179 MB / 2.585 GB, free: 224.4 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005566/4.673, allocations: 370.3 kB / 2.586 GB, free: 224.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/4.673, allocations: 17.19 kB / 2.586 GB, free: 224.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007231/4.674, allocations: 72.66 kB / 2.586 GB, free: 224.3 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/4.674, allocations: 76.48 kB / 2.586 GB, free: 224.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.699e-05/4.674, allocations: 39.41 kB / 2.586 GB, free: 224.3 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008361/4.675, allocations: 0.6259 MB / 2.587 GB, free: 224.2 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.1e-07/4.675, allocations: 0 / 2.587 GB, free: 224.2 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001424/4.676, allocations: 470.7 kB / 2.587 GB, free: 224.1 MB / 0.7136 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 (115): * Single equations (assignments): 112 * 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.004062/4.68, allocations: 2.702 MB / 2.59 GB, free: 223.2 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001796/4.682, allocations: 0.9999 MB / 2.591 GB, free: 223.1 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/4.682, allocations: 0 / 2.591 GB, free: 223.1 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000949/4.683, allocations: 0.6165 MB / 2.591 GB, free: 223 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/4.684, allocations: 263.2 kB / 2.591 GB, free: 222.9 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/4.695, allocations: 6.913 MB / 2.598 GB, free: 220.4 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007004/4.696, allocations: 1.201 MB / 2.599 GB, free: 219.6 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00111/4.697, allocations: 301.4 kB / 2.6 GB, free: 219.6 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007092/4.698, allocations: 0.537 MB / 2.6 GB, free: 219.6 MB / 0.7136 GB Notification: Performance of SimCode: time 1.573e-06/4.698, allocations: 0 / 2.6 GB, free: 219.6 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06293/4.761, allocations: 35.48 MB / 2.635 GB, free: 190.8 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002651/4.761, allocations: 289.4 kB / 2.635 GB, free: 190.5 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.336/8.097, allocations: 7.094 kB / 2.635 GB, free: 190.4 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)