Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.7845/0.7845, allocations: 127.4 MB / 134.9 MB, free: 3.48 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.001227/0.001227, allocations: 177.9 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.827/1.827, allocations: 205.2 MB / 399.5 MB, free: 13.53 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.000969/0.000969, allocations: 102.9 kB / 476.7 MB, free: 1.43 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.868e-05/2.882e-05, allocations: 3.031 kB / 0.5467 GB, free: 95.62 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1805, allocations: 76.78 MB / 0.6216 GB, free: 42.96 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.357/5.538, allocations: 2.146 GB / 2.768 GB, free: 33.22 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000306/5.538, allocations: 96.69 kB / 2.768 GB, free: 33.12 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.516/6.054, allocations: 52.47 MB / 2.819 GB, free: 226.5 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.174e-06/6.054, allocations: 0 / 2.819 GB, free: 226.5 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001016/6.054, allocations: 19.62 kB / 2.819 GB, free: 226.5 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002815/6.057, allocations: 0.9995 MB / 2.82 GB, free: 225.9 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/6.057, allocations: 7.469 kB / 2.82 GB, free: 225.9 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003124/6.06, allocations: 299.7 kB / 2.82 GB, free: 225.8 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/6.062, allocations: 0.5174 MB / 2.821 GB, free: 225.6 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.203e-05/6.062, allocations: 27.88 kB / 2.821 GB, free: 225.6 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002006/6.062, allocations: 50.31 kB / 2.821 GB, free: 225.6 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002284/6.064, allocations: 0.9795 MB / 2.822 GB, free: 225.5 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001848/6.066, allocations: 0.6787 MB / 2.823 GB, free: 225.4 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.135e-05/6.066, allocations: 7.625 kB / 2.823 GB, free: 225.4 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/6.066, allocations: 0 / 2.823 GB, free: 225.4 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.372e-05/6.066, allocations: 21.84 kB / 2.823 GB, free: 225.4 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005402/6.072, allocations: 2.174 MB / 2.825 GB, free: 224.7 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/6.073, allocations: 0.7249 MB / 2.825 GB, free: 224.6 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005031/6.074, allocations: 244.8 kB / 2.826 GB, free: 224.6 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007461/6.075, allocations: 470.1 kB / 2.826 GB, free: 224.1 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008224/6.075, allocations: 403.7 kB / 2.826 GB, free: 224.1 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=70): time 3.416e-06/6.075, allocations: 2.062 kB / 2.826 GB, free: 224.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=70): time 0.006887/6.082, allocations: 1.004 MB / 2.827 GB, free: 224 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.021e-05/6.082, allocations: 161.8 kB / 2.828 GB, free: 223.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007903/6.083, allocations: 440.1 kB / 2.828 GB, free: 223.7 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.928e-05/6.083, allocations: 25.7 kB / 2.828 GB, free: 223.6 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003275/6.084, allocations: 336.5 kB / 2.828 GB, free: 223.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000237/6.084, allocations: 223.5 kB / 2.829 GB, free: 223.3 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-05/6.084, allocations: 0 / 2.829 GB, free: 223.3 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001545/6.084, allocations: 363 kB / 2.829 GB, free: 223 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004454/6.085, allocations: 185.5 kB / 2.829 GB, free: 223 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005387/6.085, allocations: 274.1 kB / 2.829 GB, free: 222.9 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005146/6.09, allocations: 0.596 MB / 2.83 GB, free: 222.9 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/6.09, allocations: 0 / 2.83 GB, free: 222.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.006561/6.097, allocations: 1.004 MB / 2.831 GB, free: 222.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/6.097, allocations: 3.656 kB / 2.831 GB, free: 222.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/6.097, allocations: 3 kB / 2.831 GB, free: 222.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007896/6.098, allocations: 83.75 kB / 2.831 GB, free: 222.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/6.099, allocations: 141 kB / 2.831 GB, free: 222.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002166/6.101, allocations: 1.459 MB / 2.833 GB, free: 221.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008006/6.102, allocations: 65.27 kB / 2.833 GB, free: 221.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.76e-05/6.102, allocations: 26.27 kB / 2.833 GB, free: 221.6 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 (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.0002043/6.102, allocations: 115.1 kB / 2.833 GB, free: 221.5 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006635/6.109, allocations: 1.01 MB / 2.834 GB, free: 221.4 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/6.109, allocations: 60.81 kB / 2.834 GB, free: 221.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0071/6.116, allocations: 1.234 MB / 2.835 GB, free: 221.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/6.116, allocations: 8.562 kB / 2.835 GB, free: 221.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/6.116, allocations: 0 / 2.835 GB, free: 221.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.508e-05/6.116, allocations: 14.33 kB / 2.835 GB, free: 221.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007486/6.124, allocations: 1.972 MB / 2.837 GB, free: 220.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/6.124, allocations: 0 / 2.837 GB, free: 220.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009136/6.125, allocations: 149.3 kB / 2.837 GB, free: 220.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006091/6.125, allocations: 85.8 kB / 2.837 GB, free: 220.8 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.747e-05/6.125, allocations: 17.78 kB / 2.837 GB, free: 220.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001821/6.127, allocations: 1.478 MB / 2.839 GB, free: 219.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/6.127, allocations: 0 / 2.839 GB, free: 219.5 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006537/6.134, allocations: 1.169 MB / 2.84 GB, free: 219 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005415/6.134, allocations: 263.3 kB / 2.84 GB, free: 218.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001878/6.134, allocations: 7.484 kB / 2.84 GB, free: 218.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009765/6.135, allocations: 51.45 kB / 2.84 GB, free: 218.8 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/6.136, allocations: 53.44 kB / 2.84 GB, free: 218.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.011e-05/6.136, allocations: 35.48 kB / 2.84 GB, free: 218.8 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0006406/6.136, allocations: 349.5 kB / 2.841 GB, free: 218.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.2e-07/6.136, allocations: 0 / 2.841 GB, free: 218.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001708/6.138, allocations: 309.3 kB / 2.841 GB, free: 218.5 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 (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.009397/6.147, allocations: 2.669 MB / 2.843 GB, free: 217.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001703/6.149, allocations: 0.6283 MB / 2.844 GB, free: 217.1 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/6.149, allocations: 0 / 2.844 GB, free: 217.1 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000987/6.15, allocations: 441.1 kB / 2.844 GB, free: 216.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/6.152, allocations: 172.5 kB / 2.845 GB, free: 216.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00544/6.157, allocations: 1.365 MB / 2.846 GB, free: 216.3 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007117/6.158, allocations: 0.9808 MB / 2.847 GB, free: 215.5 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001644/6.159, allocations: 246.2 kB / 2.847 GB, free: 215.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007323/6.16, allocations: 305.6 kB / 2.847 GB, free: 215.3 MB / 0.6511 GB Notification: Performance of SimCode: time 1.583e-06/6.16, allocations: 0 / 2.847 GB, free: 215.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05783/6.218, allocations: 20.63 MB / 2.868 GB, free: 198.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002059/6.218, allocations: 212.8 kB / 2.868 GB, free: 197.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.886/9.104, allocations: 0 / 2.868 GB, free: 197.9 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)