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.8306/0.8306, allocations: 143.3 MB / 158.3 MB, free: 5.781 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.001189/0.001189, allocations: 181.1 kB / 191.5 MB, free: 5.746 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.612/1.612, allocations: 223.2 MB / 447.7 MB, free: 4.816 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.0009089/0.0009089, allocations: 92.27 kB / 0.5187 GB, free: 1.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001762/0.001762, allocations: 280.6 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004363/0.0004364, allocations: 11.38 kB / 0.6929 GB, free: 59.65 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.1856, allocations: 82.8 MB / 0.7738 GB, free: 13.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.678/3.863, allocations: 1.692 GB / 2.466 GB, free: 60.89 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003019/3.864, allocations: 95.2 kB / 2.466 GB, free: 60.84 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1228/3.986, allocations: 60.05 MB / 2.525 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.174e-06/3.986, allocations: 0 / 2.525 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.924e-05/3.987, allocations: 20 kB / 2.525 GB, free: 10.01 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.002152/3.989, allocations: 1.195 MB / 2.526 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/3.989, allocations: 8.031 kB / 2.526 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001504/3.989, allocations: 137.6 kB / 2.526 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008154/3.99, allocations: 190.5 kB / 2.526 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/3.991, allocations: 0.6148 MB / 2.527 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.649e-05/3.991, allocations: 58.94 kB / 2.527 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.365e-05/3.991, allocations: 94.44 kB / 2.527 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/3.992, allocations: 0.8764 MB / 2.528 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/3.993, allocations: 3.938 kB / 2.528 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-05/3.993, allocations: 38.17 kB / 2.528 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/3.993, allocations: 20 kB / 2.528 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001528/3.994, allocations: 1.105 MB / 2.529 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003823/3.998, allocations: 2.532 MB / 2.531 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/3.999, allocations: 0.7502 MB / 2.532 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.232e-05/3.999, allocations: 35.03 kB / 2.532 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000677/4, allocations: 444.2 kB / 2.533 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=76): time 2.575e-06/4, allocations: 0 / 2.533 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of matching and sorting (n=76): time 0.002802/4.003, allocations: 1.144 MB / 2.534 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.282e-05/4.003, allocations: 244 kB / 2.534 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007378/4.004, allocations: 0.5932 MB / 2.535 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.286e-05/4.004, allocations: 41.7 kB / 2.535 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002422/4.004, allocations: 376.3 kB / 2.535 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/4.004, allocations: 252.3 kB / 2.535 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/4.004, allocations: 12 kB / 2.535 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001327/4.004, allocations: 382.8 kB / 2.536 GB, free: 196 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3951/4.399, allocations: 233 kB / 2.536 GB, free: 233.8 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008283/4.4, allocations: 341.1 kB / 2.536 GB, free: 233.8 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005351/4.401, allocations: 282.8 kB / 2.536 GB, free: 233.8 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/4.401, allocations: 1.188 kB / 2.536 GB, free: 233.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001753/4.403, allocations: 0.7577 MB / 2.537 GB, free: 233.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/4.403, allocations: 9.156 kB / 2.537 GB, free: 233.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/4.403, allocations: 0.6875 kB / 2.537 GB, free: 233.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006106/4.403, allocations: 80.66 kB / 2.537 GB, free: 233.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000608/4.404, allocations: 152 kB / 2.537 GB, free: 233.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00177/4.406, allocations: 1.528 MB / 2.539 GB, free: 232.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007039/4.406, allocations: 86.08 kB / 2.539 GB, free: 232.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.068e-05/4.407, allocations: 30.56 kB / 2.539 GB, free: 232.4 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 (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.0004775/4.407, allocations: 259.4 kB / 2.539 GB, free: 232.3 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/4.407, allocations: 80.08 kB / 2.539 GB, free: 232.3 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002152/4.409, allocations: 1.053 MB / 2.54 GB, free: 232.2 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.146e-06/4.409, allocations: 10.62 kB / 2.54 GB, free: 232.2 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/4.409, allocations: 0 / 2.54 GB, free: 232.2 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/4.409, allocations: 5.781 kB / 2.54 GB, free: 232.2 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002901/4.412, allocations: 1.931 MB / 2.542 GB, free: 231.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/4.412, allocations: 4.703 kB / 2.542 GB, free: 231.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006037/4.413, allocations: 151.4 kB / 2.542 GB, free: 231.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005148/4.413, allocations: 81.97 kB / 2.542 GB, free: 231.8 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.568e-05/4.413, allocations: 23.12 kB / 2.542 GB, free: 231.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001597/4.415, allocations: 1.559 MB / 2.544 GB, free: 230.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/4.415, allocations: 0 / 2.544 GB, free: 230.6 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001916/4.417, allocations: 0.9366 MB / 2.545 GB, free: 230.3 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004611/4.418, allocations: 293.2 kB / 2.545 GB, free: 230.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/4.418, allocations: 17.95 kB / 2.545 GB, free: 230.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00058/4.418, allocations: 68.59 kB / 2.545 GB, free: 230.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/4.418, allocations: 61.12 kB / 2.545 GB, free: 230.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.858e-05/4.418, allocations: 28.72 kB / 2.545 GB, free: 230.2 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006719/4.419, allocations: 498.4 kB / 2.546 GB, free: 230.1 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.71e-07/4.419, allocations: 3.5 kB / 2.546 GB, free: 230.1 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00117/4.42, allocations: 361.5 kB / 2.546 GB, free: 230.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 (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.003819/4.424, allocations: 2.451 MB / 2.549 GB, free: 229.3 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001519/4.426, allocations: 0.7552 MB / 2.549 GB, free: 229.1 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/4.426, allocations: 6.438 kB / 2.549 GB, free: 229.1 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007824/4.426, allocations: 0.4926 MB / 2.55 GB, free: 229 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/4.428, allocations: 249.3 kB / 2.55 GB, free: 229 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/4.438, allocations: 5.13 MB / 2.555 GB, free: 227.3 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007385/4.438, allocations: 1.029 MB / 2.556 GB, free: 226.6 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001022/4.439, allocations: 262.8 kB / 2.556 GB, free: 226.5 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005015/4.44, allocations: 362 kB / 2.557 GB, free: 226.5 MB / 0.7136 GB Notification: Performance of SimCode: time 1.463e-06/4.44, allocations: 3.812 kB / 2.557 GB, free: 226.5 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05246/4.492, allocations: 29.66 MB / 2.586 GB, free: 224.7 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001968/4.493, allocations: 296.3 kB / 2.586 GB, free: 224.4 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.036/7.529, allocations: 0 / 2.586 GB, free: 224.4 MB / 0.7136 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)