Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.ZenithAngle,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",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.7802/0.7802, allocations: 128.7 MB / 143.7 MB, free: 2.301 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.001217/0.001217, allocations: 193.6 kB / 173.8 MB, free: 6.113 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.541/1.541, allocations: 205.4 MB / 409 MB, free: 10.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.000824/0.000824, allocations: 97.14 kB / 486.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000347/0.0003465, allocations: 13.62 kB / 0.5604 GB, free: 97.49 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1635, allocations: 76.77 MB / 0.6354 GB, free: 30.45 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.68/5.844, allocations: 2.147 GB / 2.782 GB, free: 164.3 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003822/5.844, allocations: 108.5 kB / 2.783 GB, free: 164.2 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1217/5.966, allocations: 54.12 MB / 2.835 GB, free: 120 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.407e-06/5.966, allocations: 0 / 2.835 GB, free: 120 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.438e-05/5.966, allocations: 24 kB / 2.835 GB, free: 120 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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.002831/5.969, allocations: 1.098 MB / 2.836 GB, free: 118.9 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.719e-05/5.969, allocations: 8.031 kB / 2.836 GB, free: 118.9 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003217/5.97, allocations: 126.7 kB / 2.837 GB, free: 118.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002105/5.972, allocations: 302.3 kB / 2.837 GB, free: 118.5 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/5.973, allocations: 0.5234 MB / 2.837 GB, free: 118.1 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.837e-05/5.973, allocations: 56.56 kB / 2.837 GB, free: 118 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001714/5.973, allocations: 73 kB / 2.837 GB, free: 118 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00183/5.975, allocations: 0.8595 MB / 2.838 GB, free: 117.3 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/5.975, allocations: 0 / 2.838 GB, free: 117.3 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.952e-05/5.975, allocations: 38.81 kB / 2.838 GB, free: 117.3 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.909e-05/5.975, allocations: 20 kB / 2.838 GB, free: 117.3 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00202/5.977, allocations: 1.133 MB / 2.839 GB, free: 116.4 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004353/5.982, allocations: 2.372 MB / 2.842 GB, free: 114.5 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001863/5.983, allocations: 0.8986 MB / 2.843 GB, free: 113.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006254/5.984, allocations: 477.7 kB / 2.843 GB, free: 113.2 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009166/5.985, allocations: 478.1 kB / 2.844 GB, free: 112.9 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=72): time 3.005e-06/5.985, allocations: 0 / 2.844 GB, free: 112.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=72): time 0.003378/5.988, allocations: 1.175 MB / 2.845 GB, free: 111.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.446e-05/5.988, allocations: 170.2 kB / 2.845 GB, free: 111.7 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007094/5.989, allocations: 0.4928 MB / 2.845 GB, free: 111.3 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.783e-05/5.989, allocations: 44.33 kB / 2.845 GB, free: 111.3 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002718/5.99, allocations: 325.2 kB / 2.846 GB, free: 111.1 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001835/5.99, allocations: 240.9 kB / 2.846 GB, free: 110.9 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/5.99, allocations: 15 kB / 2.846 GB, free: 110.9 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000125/5.99, allocations: 373 kB / 2.846 GB, free: 110.5 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006144/5.991, allocations: 258.1 kB / 2.847 GB, free: 110.3 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007029/5.991, allocations: 329.5 kB / 2.847 GB, free: 110.1 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007565/5.992, allocations: 287 kB / 2.847 GB, free: 109.9 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/5.992, allocations: 0 / 2.847 GB, free: 109.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002115/5.994, allocations: 0.7667 MB / 2.848 GB, free: 109.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/5.994, allocations: 4 kB / 2.848 GB, free: 109.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/5.994, allocations: 4 kB / 2.848 GB, free: 109.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006407/5.995, allocations: 84.39 kB / 2.848 GB, free: 109.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007392/5.996, allocations: 159.1 kB / 2.848 GB, free: 109.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001914/5.998, allocations: 1.528 MB / 2.85 GB, free: 107.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007228/5.998, allocations: 82.64 kB / 2.85 GB, free: 107.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.707e-05/5.998, allocations: 35.72 kB / 2.85 GB, free: 107.4 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 (74): * Single equations (assignments): 73 * 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.0004996/5.999, allocations: 241.2 kB / 2.85 GB, free: 107.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/5.999, allocations: 71.16 kB / 2.85 GB, free: 107.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002523/6.002, allocations: 1.055 MB / 2.851 GB, free: 106.4 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/6.002, allocations: 8 kB / 2.851 GB, free: 106.4 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/6.002, allocations: 0 / 2.851 GB, free: 106.4 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/6.002, allocations: 3.984 kB / 2.851 GB, free: 106.4 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003529/6.005, allocations: 1.906 MB / 2.853 GB, free: 104.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/6.005, allocations: 0 / 2.853 GB, free: 104.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007054/6.006, allocations: 151.6 kB / 2.853 GB, free: 104.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005155/6.006, allocations: 91.89 kB / 2.853 GB, free: 104.7 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.075e-05/6.007, allocations: 22.55 kB / 2.853 GB, free: 104.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001611/6.008, allocations: 1.546 MB / 2.855 GB, free: 103.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/6.008, allocations: 0 / 2.855 GB, free: 103.1 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002094/6.01, allocations: 0.9507 MB / 2.856 GB, free: 102.4 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000516/6.011, allocations: 288.2 kB / 2.856 GB, free: 102.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/6.011, allocations: 18.88 kB / 2.856 GB, free: 102.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006859/6.012, allocations: 70.94 kB / 2.856 GB, free: 102.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/6.012, allocations: 59.8 kB / 2.856 GB, free: 102 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.447e-05/6.012, allocations: 35.09 kB / 2.856 GB, free: 102 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005505/6.012, allocations: 415.9 kB / 2.857 GB, free: 101.7 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/6.012, allocations: 0 / 2.857 GB, free: 101.7 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001223/6.014, allocations: 335.1 kB / 2.857 GB, free: 101.4 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * 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.004042/6.018, allocations: 2.439 MB / 2.859 GB, free: 99.33 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001811/6.02, allocations: 0.7895 MB / 2.86 GB, free: 98.7 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/6.02, allocations: 0 / 2.86 GB, free: 98.7 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0009495/6.021, allocations: 0.5164 MB / 2.86 GB, free: 98.27 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009182/6.021, allocations: 203.5 kB / 2.861 GB, free: 98.11 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008441/6.03, allocations: 4.654 MB / 2.865 GB, free: 94.1 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004682/6.03, allocations: 0.9945 MB / 2.866 GB, free: 93.09 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0009779/6.031, allocations: 245.1 kB / 2.866 GB, free: 92.85 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004628/6.032, allocations: 323 kB / 2.867 GB, free: 92.64 MB / 0.6511 GB Notification: Performance of SimCode: time 1.373e-06/6.032, allocations: 0 / 2.867 GB, free: 92.64 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04647/6.078, allocations: 26.83 MB / 2.893 GB, free: 66.07 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001898/6.079, allocations: 284.3 kB / 2.893 GB, free: 65.71 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.195/9.274, allocations: 0 / 2.893 GB, free: 65.71 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)