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.739/0.739, allocations: 128.7 MB / 143.7 MB, free: 2.34 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.001154/0.001154, allocations: 178.4 kB / 173.7 MB, free: 6.148 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.742/1.742, allocations: 205.4 MB / 409 MB, free: 10.52 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.0008421/0.0008421, allocations: 93.52 kB / 486.6 MB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003587/0.0003587, allocations: 8.188 kB / 0.5604 GB, free: 97.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1824, allocations: 76.77 MB / 0.6354 GB, free: 30.48 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.757/5.94, allocations: 2.147 GB / 2.783 GB, free: 228.7 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003656/5.94, allocations: 101.9 kB / 2.783 GB, free: 228.7 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1217/6.062, allocations: 59.34 MB / 2.841 GB, free: 171.8 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.806e-06/6.062, allocations: 0 / 2.841 GB, free: 171.8 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.771e-05/6.062, allocations: 23.94 kB / 2.841 GB, free: 171.8 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.001784/6.064, allocations: 1.098 MB / 2.842 GB, free: 170.6 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/6.064, allocations: 12.02 kB / 2.842 GB, free: 170.6 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001303/6.064, allocations: 130.7 kB / 2.842 GB, free: 170.5 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001973/6.066, allocations: 318.4 kB / 2.842 GB, free: 170.2 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007688/6.067, allocations: 0.5297 MB / 2.843 GB, free: 169.6 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.588e-05/6.067, allocations: 58 kB / 2.843 GB, free: 169.5 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.521e-05/6.067, allocations: 72 kB / 2.843 GB, free: 169.5 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/6.069, allocations: 0.872 MB / 2.844 GB, free: 168.6 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/6.069, allocations: 0 / 2.844 GB, free: 168.6 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.662e-05/6.069, allocations: 39.98 kB / 2.844 GB, free: 168.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/6.069, allocations: 20 kB / 2.844 GB, free: 168.5 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001753/6.07, allocations: 1.159 MB / 2.845 GB, free: 167.3 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00344/6.074, allocations: 2.411 MB / 2.847 GB, free: 164.9 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002409/6.076, allocations: 0.9211 MB / 2.848 GB, free: 163.9 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005444/6.077, allocations: 474.1 kB / 2.849 GB, free: 163.4 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008499/6.078, allocations: 500 kB / 2.849 GB, free: 162.9 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=73): time 2.515e-06/6.078, allocations: 0 / 2.849 GB, free: 162.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=73): time 0.003277/6.081, allocations: 1.223 MB / 2.85 GB, free: 161.6 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.883e-05/6.081, allocations: 170.8 kB / 2.851 GB, free: 161.4 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000567/6.082, allocations: 0.4982 MB / 2.851 GB, free: 160.9 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.751e-05/6.082, allocations: 45.64 kB / 2.851 GB, free: 160.9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/6.082, allocations: 328.5 kB / 2.851 GB, free: 160.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/6.082, allocations: 240.5 kB / 2.852 GB, free: 160.3 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.563e-05/6.082, allocations: 12 kB / 2.852 GB, free: 160.3 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.135e-05/6.082, allocations: 370.8 kB / 2.852 GB, free: 159.9 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005628/6.083, allocations: 261.1 kB / 2.852 GB, free: 159.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006323/6.083, allocations: 349 kB / 2.853 GB, free: 159.3 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006163/6.084, allocations: 307.1 kB / 2.853 GB, free: 159 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/6.084, allocations: 0 / 2.853 GB, free: 159 MB / 0.6511 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001876/6.086, allocations: 0.7979 MB / 2.854 GB, free: 158.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/6.086, allocations: 11.95 kB / 2.854 GB, free: 158.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/6.086, allocations: 0 / 2.854 GB, free: 158.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005859/6.087, allocations: 84.83 kB / 2.854 GB, free: 158.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007478/6.087, allocations: 163.8 kB / 2.854 GB, free: 157.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001659/6.089, allocations: 1.528 MB / 2.855 GB, free: 156.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006638/6.09, allocations: 83.55 kB / 2.856 GB, free: 156.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.876e-05/6.09, allocations: 27.97 kB / 2.856 GB, free: 156.2 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 () * Number of clocked 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.0004318/6.09, allocations: 245.7 kB / 2.856 GB, free: 155.9 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.679e-05/6.09, allocations: 71.11 kB / 2.856 GB, free: 155.8 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002383/6.093, allocations: 1.078 MB / 2.857 GB, free: 154.7 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/6.093, allocations: 8 kB / 2.857 GB, free: 154.7 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/6.093, allocations: 0 / 2.857 GB, free: 154.7 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/6.093, allocations: 3.984 kB / 2.857 GB, free: 154.7 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008701/6.094, allocations: 0.8448 MB / 2.858 GB, free: 153.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/6.094, allocations: 4 kB / 2.858 GB, free: 153.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007142/6.094, allocations: 163.7 kB / 2.858 GB, free: 153.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004834/6.095, allocations: 84.77 kB / 2.858 GB, free: 153.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-05/6.095, allocations: 23.97 kB / 2.858 GB, free: 153.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001497/6.096, allocations: 1.572 MB / 2.86 GB, free: 151.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/6.096, allocations: 0 / 2.86 GB, free: 151.9 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001885/6.098, allocations: 0.9001 MB / 2.86 GB, free: 150.9 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003611/6.099, allocations: 291.8 kB / 2.861 GB, free: 150.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.817e-05/6.099, allocations: 19.95 kB / 2.861 GB, free: 150.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006034/6.099, allocations: 67.94 kB / 2.861 GB, free: 150.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/6.1, allocations: 56.92 kB / 2.861 GB, free: 150.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.457e-05/6.1, allocations: 27.98 kB / 2.861 GB, free: 150.5 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003925/6.1, allocations: 418.8 kB / 2.861 GB, free: 150.1 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/6.1, allocations: 0 / 2.861 GB, free: 150.1 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009885/6.101, allocations: 343.2 kB / 2.862 GB, free: 149.7 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.conTim1.tStart,weaDat.conTim.tStart) * Number of clocked states: 0 () * 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.003688/6.105, allocations: 2.391 MB / 2.864 GB, free: 147.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001712/6.106, allocations: 0.8098 MB / 2.865 GB, free: 146.6 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/6.106, allocations: 4 kB / 2.865 GB, free: 146.6 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0009223/6.107, allocations: 0.5158 MB / 2.865 GB, free: 146.1 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008369/6.108, allocations: 200.5 kB / 2.865 GB, free: 145.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008367/6.117, allocations: 4.72 MB / 2.87 GB, free: 141.1 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004097/6.117, allocations: 0.9952 MB / 2.871 GB, free: 140.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0009976/6.118, allocations: 253.1 kB / 2.871 GB, free: 139.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004691/6.119, allocations: 307.3 kB / 2.872 GB, free: 139.5 MB / 0.6511 GB Notification: Performance of SimCode: time 7.41e-07/6.119, allocations: 0 / 2.872 GB, free: 139.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04754/6.166, allocations: 27.2 MB / 2.898 GB, free: 112.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001913/6.166, allocations: 300.3 kB / 2.898 GB, free: 112.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.94/9.107, allocations: 6.609 kB / 2.898 GB, free: 112.2 MB / 0.6511 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)