Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",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.7544/0.7544, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001377/0.001377, allocations: 176.8 kB / 169.7 MB, free: 1.746 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.772/1.772, allocations: 205.1 MB / 404.5 MB, free: 1.605 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.0009199/0.0009199, allocations: 94.19 kB / 481.8 MB, free: 4.25 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.478e-05/4.491e-05, allocations: 4 kB / 0.5533 GB, free: 54.76 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1748, allocations: 76.76 MB / 0.6282 GB, free: 9.941 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.873/6.048, allocations: 2.147 GB / 2.776 GB, free: 66.64 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/6.048, allocations: 91.94 kB / 2.776 GB, free: 66.55 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.1291/6.177, allocations: 59.04 MB / 2.833 GB, free: 7.211 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.685e-06/6.177, allocations: 4 kB / 2.833 GB, free: 7.207 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.00015/6.177, allocations: 16 kB / 2.833 GB, free: 7.191 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002979/6.18, allocations: 1.016 MB / 2.834 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.93e-05/6.18, allocations: 8.031 kB / 2.834 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003608/6.181, allocations: 126.8 kB / 2.834 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002434/6.183, allocations: 318.4 kB / 2.835 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/6.185, allocations: 0.5258 MB / 2.835 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.299e-05/6.185, allocations: 62 kB / 2.835 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002021/6.185, allocations: 75.94 kB / 2.835 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/6.186, allocations: 0.8136 MB / 2.836 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/6.187, allocations: 0 / 2.836 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.977e-05/6.187, allocations: 35.98 kB / 2.836 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/6.187, allocations: 20 kB / 2.836 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001551/6.188, allocations: 1.054 MB / 2.837 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004435/6.193, allocations: 2.407 MB / 2.84 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4636/6.656, allocations: 0.7838 MB / 2.84 GB, free: 188.6 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007129/6.657, allocations: 285.2 kB / 2.841 GB, free: 188.6 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007329/6.658, allocations: 473.3 kB / 2.841 GB, free: 188.1 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001032/6.659, allocations: 453.6 kB / 2.842 GB, free: 188.1 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=73): time 4.569e-06/6.659, allocations: 2.812 kB / 2.842 GB, free: 188.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73): time 0.002505/6.661, allocations: 0.7029 MB / 2.842 GB, free: 188 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/6.662, allocations: 169.9 kB / 2.842 GB, free: 187.8 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009662/6.662, allocations: 0.4903 MB / 2.843 GB, free: 187.7 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.473e-05/6.663, allocations: 41.36 kB / 2.843 GB, free: 187.7 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003481/6.663, allocations: 330.5 kB / 2.843 GB, free: 187.5 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002212/6.663, allocations: 234.4 kB / 2.843 GB, free: 187.4 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/6.663, allocations: 15.09 kB / 2.843 GB, free: 187.4 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000147/6.663, allocations: 373.5 kB / 2.844 GB, free: 187.1 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004144/6.664, allocations: 213.9 kB / 2.844 GB, free: 187.1 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005407/6.664, allocations: 301.7 kB / 2.844 GB, free: 187 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005318/6.665, allocations: 253.6 kB / 2.845 GB, free: 187 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/6.665, allocations: 2.844 kB / 2.845 GB, free: 187 MB / 0.6355 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001815/6.667, allocations: 0.7039 MB / 2.845 GB, free: 186.9 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.618e-05/6.667, allocations: 6.578 kB / 2.845 GB, free: 186.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/6.667, allocations: 2.078 kB / 2.845 GB, free: 186.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000643/6.667, allocations: 86.56 kB / 2.845 GB, free: 186.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008505/6.668, allocations: 151.6 kB / 2.845 GB, free: 186.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002021/6.67, allocations: 1.531 MB / 2.847 GB, free: 185.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007825/6.671, allocations: 80.25 kB / 2.847 GB, free: 185.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-05/6.671, allocations: 30.28 kB / 2.847 GB, free: 185.6 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 (75): * Single equations (assignments): 74 * 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.0001906/6.671, allocations: 140.2 kB / 2.847 GB, free: 185.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/6.672, allocations: 72.64 kB / 2.847 GB, free: 185.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002482/6.674, allocations: 0.9758 MB / 2.848 GB, free: 185.4 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.287e-05/6.674, allocations: 8.469 kB / 2.848 GB, free: 185.4 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/6.674, allocations: 1.031 kB / 2.848 GB, free: 185.4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5e-05/6.674, allocations: 4.594 kB / 2.848 GB, free: 185.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001375/6.675, allocations: 0.8427 MB / 2.849 GB, free: 185.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/6.675, allocations: 0 / 2.849 GB, free: 185.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007961/6.676, allocations: 160.3 kB / 2.849 GB, free: 185.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005338/6.677, allocations: 84.81 kB / 2.849 GB, free: 185.2 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-05/6.677, allocations: 26.89 kB / 2.849 GB, free: 185.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001683/6.679, allocations: 1.549 MB / 2.851 GB, free: 183.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/6.679, allocations: 0 / 2.851 GB, free: 183.9 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001799/6.68, allocations: 0.8008 MB / 2.852 GB, free: 183.8 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004562/6.681, allocations: 282.8 kB / 2.852 GB, free: 183.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.995e-05/6.681, allocations: 14.92 kB / 2.852 GB, free: 183.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006285/6.682, allocations: 74.09 kB / 2.852 GB, free: 183.6 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001634/6.682, allocations: 57.38 kB / 2.852 GB, free: 183.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.103e-05/6.682, allocations: 32.14 kB / 2.852 GB, free: 183.6 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006387/6.683, allocations: 412.7 kB / 2.852 GB, free: 183.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.41e-07/6.683, allocations: 1.219 kB / 2.852 GB, free: 183.5 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001542/6.684, allocations: 342.5 kB / 2.853 GB, free: 183.5 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 (81): * Single equations (assignments): 78 * 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.004379/6.689, allocations: 2.242 MB / 2.855 GB, free: 182.8 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001764/6.69, allocations: 0.706 MB / 2.856 GB, free: 182.6 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/6.69, allocations: 1.5 kB / 2.856 GB, free: 182.6 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001024/6.691, allocations: 478.7 kB / 2.856 GB, free: 182.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/6.692, allocations: 197.9 kB / 2.856 GB, free: 182.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00448/6.697, allocations: 1.478 MB / 2.858 GB, free: 182.2 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006677/6.698, allocations: 0.992 MB / 2.859 GB, free: 181.5 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001109/6.699, allocations: 252.3 kB / 2.859 GB, free: 181.4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005628/6.699, allocations: 313.4 kB / 2.859 GB, free: 181.4 MB / 0.6355 GB Notification: Performance of SimCode: time 1.021e-06/6.699, allocations: 0 / 2.859 GB, free: 181.4 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0759/6.775, allocations: 28.98 MB / 2.888 GB, free: 179.6 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002285/6.775, allocations: 259.7 kB / 2.888 GB, free: 179.3 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.016/9.791, allocations: 3.609 kB / 2.888 GB, free: 179.3 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)