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.8/0.8, allocations: 127.4 MB / 134.9 MB, free: 3.723 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.001415/0.001415, allocations: 180.9 kB / 164.7 MB, free: 6.527 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.733/1.733, allocations: 205.2 MB / 399.5 MB, free: 5.934 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.0008833/0.0008833, allocations: 89.27 kB / 476.7 MB, free: 8.66 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.924e-05/1.953e-05, allocations: 4 kB / 0.5467 GB, free: 60.39 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.1795, allocations: 76.75 MB / 0.6216 GB, free: 15.57 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.184/6.363, allocations: 2.147 GB / 2.769 GB, free: 39.86 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004345/6.364, allocations: 93.62 kB / 2.769 GB, free: 39.81 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.6057/6.97, allocations: 58.31 MB / 2.826 GB, free: 199.2 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.475e-06/6.97, allocations: 0 / 2.826 GB, free: 199.2 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.801e-05/6.97, allocations: 26.25 kB / 2.826 GB, free: 199.2 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.002062/6.972, allocations: 1.012 MB / 2.827 GB, free: 198.6 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.845e-05/6.972, allocations: 9.875 kB / 2.827 GB, free: 198.6 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002118/6.974, allocations: 315.7 kB / 2.827 GB, free: 198.6 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/6.975, allocations: 0.5266 MB / 2.827 GB, free: 198.3 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.557e-05/6.975, allocations: 25.95 kB / 2.827 GB, free: 198.3 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/6.975, allocations: 45.34 kB / 2.827 GB, free: 198.3 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001852/6.977, allocations: 1.008 MB / 2.828 GB, free: 198.3 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001484/6.979, allocations: 0.7097 MB / 2.829 GB, free: 198.2 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/6.979, allocations: 3.703 kB / 2.829 GB, free: 198.2 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.246e-05/6.979, allocations: 2.031 kB / 2.829 GB, free: 198.2 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.525e-05/6.979, allocations: 18.84 kB / 2.829 GB, free: 198.2 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004431/6.983, allocations: 2.257 MB / 2.831 GB, free: 197.5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002097/6.985, allocations: 0.7461 MB / 2.832 GB, free: 197.5 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004691/6.986, allocations: 264 kB / 2.832 GB, free: 197.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006376/6.987, allocations: 479.7 kB / 2.833 GB, free: 197 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007178/6.987, allocations: 422.5 kB / 2.833 GB, free: 196.9 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=73): time 3.226e-06/6.987, allocations: 1.25 kB / 2.833 GB, free: 196.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73): time 0.005115/6.992, allocations: 1.046 MB / 2.834 GB, free: 196.8 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.005e-05/6.992, allocations: 165.6 kB / 2.834 GB, free: 196.6 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007143/6.993, allocations: 443.1 kB / 2.835 GB, free: 196.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.495e-05/6.993, allocations: 28.2 kB / 2.835 GB, free: 196.5 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003119/6.994, allocations: 333.2 kB / 2.835 GB, free: 196.3 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002172/6.994, allocations: 236.3 kB / 2.835 GB, free: 196.2 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/6.994, allocations: 0 / 2.835 GB, free: 196.2 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001564/6.994, allocations: 364.6 kB / 2.836 GB, free: 195.9 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004169/6.994, allocations: 201.8 kB / 2.836 GB, free: 195.9 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004772/6.995, allocations: 280.5 kB / 2.836 GB, free: 195.8 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003607/6.999, allocations: 0.6174 MB / 2.837 GB, free: 195.8 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/6.999, allocations: 5.359 kB / 2.837 GB, free: 195.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00477/7.003, allocations: 1.04 MB / 2.838 GB, free: 195.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/7.003, allocations: 5.375 kB / 2.838 GB, free: 195.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/7.003, allocations: 2.094 kB / 2.838 GB, free: 195.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006029/7.004, allocations: 79.8 kB / 2.838 GB, free: 195.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007827/7.005, allocations: 156.7 kB / 2.838 GB, free: 195.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001748/7.007, allocations: 1.467 MB / 2.839 GB, free: 194.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007874/7.007, allocations: 67.47 kB / 2.84 GB, free: 194.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-05/7.007, allocations: 28.34 kB / 2.84 GB, free: 194.4 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.0001897/7.008, allocations: 124.7 kB / 2.84 GB, free: 194.3 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005105/7.013, allocations: 1.046 MB / 2.841 GB, free: 194.2 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001522/7.013, allocations: 62.44 kB / 2.841 GB, free: 194.2 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005196/7.018, allocations: 1.29 MB / 2.842 GB, free: 194.1 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/7.018, allocations: 11.25 kB / 2.842 GB, free: 194.1 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/7.018, allocations: 0 / 2.842 GB, free: 194.1 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/7.018, allocations: 7.594 kB / 2.842 GB, free: 194.1 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/7.019, allocations: 0.7279 MB / 2.843 GB, free: 193.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/7.019, allocations: 0 / 2.843 GB, free: 193.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007705/7.02, allocations: 166.6 kB / 2.843 GB, free: 193.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004928/7.021, allocations: 77.72 kB / 2.843 GB, free: 193.9 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.584e-05/7.021, allocations: 20.02 kB / 2.843 GB, free: 193.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001716/7.022, allocations: 1.494 MB / 2.844 GB, free: 192.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/7.022, allocations: 0 / 2.844 GB, free: 192.7 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004732/7.027, allocations: 1.134 MB / 2.846 GB, free: 192.5 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000431/7.028, allocations: 279.5 kB / 2.846 GB, free: 192.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.528e-05/7.028, allocations: 0 / 2.846 GB, free: 192.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006302/7.028, allocations: 58.75 kB / 2.846 GB, free: 192.4 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/7.029, allocations: 53.69 kB / 2.846 GB, free: 192.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.376e-05/7.029, allocations: 36.25 kB / 2.846 GB, free: 192.3 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004483/7.029, allocations: 354.2 kB / 2.846 GB, free: 192.3 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.7e-07/7.029, allocations: 0 / 2.846 GB, free: 192.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001232/7.03, allocations: 323.7 kB / 2.847 GB, free: 192.2 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.006384/7.037, allocations: 2.623 MB / 2.849 GB, free: 191.3 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001331/7.038, allocations: 0.6741 MB / 2.85 GB, free: 191.2 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/7.038, allocations: 3.938 kB / 2.85 GB, free: 191.2 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006993/7.039, allocations: 455.6 kB / 2.85 GB, free: 191 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009373/7.04, allocations: 180.1 kB / 2.85 GB, free: 191 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003692/7.043, allocations: 1.408 MB / 2.852 GB, free: 190.6 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004513/7.044, allocations: 0.9859 MB / 2.853 GB, free: 189.9 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0009801/7.045, allocations: 248.5 kB / 2.853 GB, free: 189.8 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004378/7.045, allocations: 311.6 kB / 2.853 GB, free: 189.6 MB / 0.6355 GB Notification: Performance of SimCode: time 1.483e-06/7.045, allocations: 0 / 2.853 GB, free: 189.6 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05895/7.104, allocations: 21.39 MB / 2.874 GB, free: 184.1 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000211/7.105, allocations: 224.3 kB / 2.874 GB, free: 183.8 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.833/9.937, allocations: 0 / 2.874 GB, free: 183.8 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)