Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.9038/0.9038, allocations: 127.4 MB / 134.9 MB, free: 3.754 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001229/0.001229, allocations: 176.9 kB / 164.7 MB, free: 6.539 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.806/1.806, allocations: 205.2 MB / 399.5 MB, free: 5.957 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009701/0.0009701, allocations: 94.33 kB / 476.7 MB, free: 8.676 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.767e-05/1.771e-05, allocations: 0 / 0.5467 GB, free: 60.42 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1779, allocations: 76.76 MB / 0.6216 GB, free: 15.59 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.055/6.233, allocations: 2.146 GB / 2.768 GB, free: 84.53 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003178/6.233, allocations: 91.89 kB / 2.768 GB, free: 84.44 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.1232/6.357, allocations: 57.94 MB / 2.825 GB, free: 26.23 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.387e-06/6.357, allocations: 0 / 2.825 GB, free: 26.23 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.827e-05/6.357, allocations: 20 kB / 2.825 GB, free: 26.21 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.001697/6.358, allocations: 1.008 MB / 2.826 GB, free: 25.15 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/6.358, allocations: 12.03 kB / 2.826 GB, free: 25.14 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001734/6.36, allocations: 294.5 kB / 2.826 GB, free: 24.85 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007915/6.361, allocations: 0.5296 MB / 2.827 GB, free: 24.28 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.775e-05/6.361, allocations: 24 kB / 2.827 GB, free: 24.25 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.95e-05/6.361, allocations: 44 kB / 2.827 GB, free: 24.21 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001223/6.362, allocations: 0.9874 MB / 2.828 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009936/6.363, allocations: 0.6925 MB / 2.828 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/6.363, allocations: 7.938 kB / 2.828 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.257e-05/6.363, allocations: 0 / 2.828 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/6.363, allocations: 16 kB / 2.828 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003251/6.367, allocations: 2.233 MB / 2.83 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008735/6.368, allocations: 0.6612 MB / 2.831 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003037/6.368, allocations: 256.8 kB / 2.831 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00059/6.368, allocations: 470.1 kB / 2.832 GB, free: 18.72 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005559/6.369, allocations: 405.5 kB / 2.832 GB, free: 18.3 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=70): time 1.723e-06/6.369, allocations: 4 kB / 2.832 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of matching and sorting (n=70): time 0.004521/6.374, allocations: 1.019 MB / 2.833 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.398e-05/6.374, allocations: 166.8 kB / 2.833 GB, free: 17.07 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000563/6.374, allocations: 441.3 kB / 2.834 GB, free: 16.63 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.209e-05/6.374, allocations: 29.69 kB / 2.834 GB, free: 16.59 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002496/6.375, allocations: 332.4 kB / 2.834 GB, free: 16.26 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/6.375, allocations: 216.7 kB / 2.834 GB, free: 16.05 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.593e-05/6.375, allocations: 3.938 kB / 2.834 GB, free: 16.04 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001376/6.375, allocations: 370.7 kB / 2.835 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000266/6.375, allocations: 201.5 kB / 2.835 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003195/6.376, allocations: 265 kB / 2.835 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003388/6.379, allocations: 0.6132 MB / 2.836 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/6.379, allocations: 0 / 2.836 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.004393/6.383, allocations: 1.019 MB / 2.837 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.634e-05/6.383, allocations: 8 kB / 2.837 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/6.383, allocations: 0 / 2.837 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005925/6.384, allocations: 80.84 kB / 2.837 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007178/6.385, allocations: 143.8 kB / 2.837 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001785/6.387, allocations: 1.477 MB / 2.838 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007099/6.387, allocations: 63.61 kB / 2.838 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.383e-05/6.387, allocations: 27.97 kB / 2.839 GB, free: 11.63 MB / 0.6355 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.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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.0002269/6.388, allocations: 112.9 kB / 2.839 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00432/6.392, allocations: 1.018 MB / 2.84 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.414e-05/6.392, allocations: 71.2 kB / 2.84 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004723/6.397, allocations: 1.264 MB / 2.841 GB, free: 9.133 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/6.397, allocations: 12 kB / 2.841 GB, free: 9.121 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/6.397, allocations: 0 / 2.841 GB, free: 9.121 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/6.397, allocations: 3.984 kB / 2.841 GB, free: 9.117 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009067/6.398, allocations: 0.7124 MB / 2.842 GB, free: 8.367 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/6.398, allocations: 0 / 2.842 GB, free: 8.367 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006796/6.398, allocations: 147.8 kB / 2.842 GB, free: 8.223 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004673/6.399, allocations: 84.72 kB / 2.842 GB, free: 8.137 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.87e-05/6.399, allocations: 15.98 kB / 2.842 GB, free: 8.121 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001418/6.4, allocations: 1.492 MB / 2.843 GB, free: 6.508 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/6.4, allocations: 4.062 kB / 2.843 GB, free: 6.504 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004251/6.405, allocations: 1.109 MB / 2.844 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003481/6.405, allocations: 271.9 kB / 2.845 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.948e-05/6.405, allocations: 4 kB / 2.845 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005395/6.406, allocations: 59.89 kB / 2.845 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/6.406, allocations: 60.64 kB / 2.845 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-05/6.406, allocations: 27.98 kB / 2.845 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004069/6.406, allocations: 358.9 kB / 2.845 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.01e-07/6.406, allocations: 0 / 2.845 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001018/6.407, allocations: 315 kB / 2.845 GB, free: 4.281 MB / 0.6355 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.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim1.tStart,weaDat.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 74 * 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.006348/6.414, allocations: 2.602 MB / 2.848 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001246/6.415, allocations: 0.6512 MB / 2.849 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/6.415, allocations: 0 / 2.849 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005984/6.416, allocations: 436.7 kB / 2.849 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009271/6.416, allocations: 172.3 kB / 2.849 GB, free: 440 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4059/6.822, allocations: 1.381 MB / 2.851 GB, free: 190.6 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006972/6.823, allocations: 0.984 MB / 2.852 GB, free: 189.9 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001118/6.824, allocations: 242.3 kB / 2.852 GB, free: 189.9 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005522/6.825, allocations: 308.9 kB / 2.852 GB, free: 189.9 MB / 0.6355 GB Notification: Performance of SimCode: time 1.753e-06/6.825, allocations: 0 / 2.852 GB, free: 189.9 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07185/6.897, allocations: 21 MB / 2.873 GB, free: 188.8 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002013/6.897, allocations: 187.8 kB / 2.873 GB, free: 188.6 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.834/9.731, allocations: 0 / 2.873 GB, free: 188.6 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)