Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",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.8818/0.8818, allocations: 127.4 MB / 134.9 MB, free: 3.465 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.001082/0.001082, allocations: 178.7 kB / 164.6 MB, free: 11.58 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.984/1.984, allocations: 205.2 MB / 399.5 MB, free: 13.5 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.001014/0.001014, allocations: 82.38 kB / 476.7 MB, free: 1.445 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.27e-05/2.277e-05, allocations: 2.625 kB / 0.5467 GB, free: 95.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1734, allocations: 76.77 MB / 0.6216 GB, free: 42.96 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.735/5.908, allocations: 2.147 GB / 2.769 GB, free: 187.9 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003787/5.909, allocations: 97.94 kB / 2.769 GB, free: 187.9 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1179/6.027, allocations: 53.58 MB / 2.821 GB, free: 175.9 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.544e-06/6.027, allocations: 4 kB / 2.821 GB, free: 175.9 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.614e-05/6.027, allocations: 15.81 kB / 2.821 GB, free: 175.9 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.002536/6.03, allocations: 1.019 MB / 2.822 GB, free: 175.1 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/6.03, allocations: 11.72 kB / 2.822 GB, free: 175.1 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002141/6.032, allocations: 300.2 kB / 2.823 GB, free: 175 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/6.033, allocations: 0.5341 MB / 2.823 GB, free: 174.6 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.221e-05/6.033, allocations: 29.7 kB / 2.823 GB, free: 174.6 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001605/6.033, allocations: 49.02 kB / 2.823 GB, free: 174.6 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001657/6.035, allocations: 1.02 MB / 2.824 GB, free: 174.4 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/6.036, allocations: 0.7161 MB / 2.825 GB, free: 174.1 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/6.036, allocations: 0 / 2.825 GB, free: 174.1 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.519e-05/6.036, allocations: 3.812 kB / 2.825 GB, free: 174.1 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/6.036, allocations: 19.53 kB / 2.825 GB, free: 174.1 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004074/6.04, allocations: 2.274 MB / 2.827 GB, free: 172.8 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/6.041, allocations: 0.6819 MB / 2.828 GB, free: 172.7 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003499/6.042, allocations: 263.6 kB / 2.828 GB, free: 172.7 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006167/6.042, allocations: 468.7 kB / 2.829 GB, free: 172.2 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000605/6.043, allocations: 433.7 kB / 2.829 GB, free: 172 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=76): time 3.136e-06/6.043, allocations: 0 / 2.829 GB, free: 172 MB / 0.6511 GB Notification: Performance of matching and sorting (n=76): time 0.004618/6.048, allocations: 1.045 MB / 2.83 GB, free: 171.7 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.24e-05/6.048, allocations: 166.8 kB / 2.83 GB, free: 171.5 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000633/6.048, allocations: 468.3 kB / 2.831 GB, free: 171.4 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.265e-05/6.048, allocations: 25.7 kB / 2.831 GB, free: 171.3 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002576/6.049, allocations: 345.9 kB / 2.831 GB, free: 171.1 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002121/6.049, allocations: 235 kB / 2.831 GB, free: 170.9 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.99e-05/6.049, allocations: 0 / 2.831 GB, free: 170.9 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001249/6.049, allocations: 364.7 kB / 2.832 GB, free: 170.6 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003097/6.049, allocations: 210.9 kB / 2.832 GB, free: 170.6 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003385/6.05, allocations: 282.9 kB / 2.832 GB, free: 170.5 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003354/6.053, allocations: 0.6194 MB / 2.833 GB, free: 170.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/6.053, allocations: 0 / 2.833 GB, free: 170.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004439/6.058, allocations: 1.062 MB / 2.834 GB, free: 170 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/6.058, allocations: 8.031 kB / 2.834 GB, free: 170 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/6.058, allocations: 0 / 2.834 GB, free: 170 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006112/6.058, allocations: 85.2 kB / 2.834 GB, free: 169.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007676/6.059, allocations: 158.2 kB / 2.834 GB, free: 169.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001662/6.061, allocations: 1.459 MB / 2.835 GB, free: 168.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007266/6.061, allocations: 64.98 kB / 2.835 GB, free: 168.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-05/6.062, allocations: 28.44 kB / 2.835 GB, free: 168.5 MB / 0.6511 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 (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.0002044/6.062, allocations: 122.7 kB / 2.836 GB, free: 168.4 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004425/6.066, allocations: 1.051 MB / 2.837 GB, free: 168.1 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001913/6.066, allocations: 66.25 kB / 2.837 GB, free: 168.1 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004908/6.071, allocations: 1.31 MB / 2.838 GB, free: 167.6 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/6.071, allocations: 11.44 kB / 2.838 GB, free: 167.6 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/6.071, allocations: 0 / 2.838 GB, free: 167.6 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/6.071, allocations: 7.922 kB / 2.838 GB, free: 167.6 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005848/6.077, allocations: 2.047 MB / 2.84 GB, free: 166.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/6.077, allocations: 0 / 2.84 GB, free: 166.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007538/6.078, allocations: 160.1 kB / 2.84 GB, free: 166.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004727/6.079, allocations: 86.33 kB / 2.84 GB, free: 166.7 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.508e-05/6.079, allocations: 18.58 kB / 2.84 GB, free: 166.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001439/6.08, allocations: 1.472 MB / 2.842 GB, free: 165.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/6.08, allocations: 0 / 2.842 GB, free: 165.4 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004656/6.085, allocations: 1.209 MB / 2.843 GB, free: 165 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005391/6.085, allocations: 277.4 kB / 2.843 GB, free: 164.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001784/6.085, allocations: 11.58 kB / 2.843 GB, free: 164.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007091/6.086, allocations: 46.83 kB / 2.843 GB, free: 164.7 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/6.086, allocations: 58.11 kB / 2.843 GB, free: 164.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.847e-05/6.086, allocations: 31.36 kB / 2.843 GB, free: 164.7 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005295/6.087, allocations: 374.4 kB / 2.844 GB, free: 164.4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.61e-07/6.087, allocations: 0 / 2.844 GB, free: 164.4 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001277/6.088, allocations: 315.7 kB / 2.844 GB, free: 164.1 MB / 0.6511 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.conTim.tStart,weaDat.conTim1.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 80 * 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.006718/6.095, allocations: 2.697 MB / 2.846 GB, free: 161.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001382/6.096, allocations: 0.677 MB / 2.847 GB, free: 161.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/6.096, allocations: 0 / 2.847 GB, free: 161.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007346/6.097, allocations: 457.8 kB / 2.848 GB, free: 160.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/6.098, allocations: 180.7 kB / 2.848 GB, free: 160.7 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004637/6.103, allocations: 1.421 MB / 2.849 GB, free: 159.4 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005402/6.103, allocations: 1.004 MB / 2.85 GB, free: 158.4 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001043/6.105, allocations: 237.1 kB / 2.85 GB, free: 158.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005749/6.105, allocations: 324.4 kB / 2.851 GB, free: 158 MB / 0.6511 GB Notification: Performance of SimCode: time 1.292e-06/6.105, allocations: 0 / 2.851 GB, free: 158 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05034/6.155, allocations: 21.48 MB / 2.872 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001624/6.156, allocations: 208.8 kB / 2.872 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.843/8.999, allocations: 0 / 2.872 GB, free: 136.4 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)