Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 179.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4837/0.4837, allocations: 90.81 MB / 104.5 MB, free: 9.801 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 221.3 MB / 348.3 MB, free: 472 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009826/0.0009826, allocations: 95.81 kB / 421.2 MB, free: 5.484 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.906e-05/3.926e-05, allocations: 7.984 kB / 0.4897 GB, free: 5.273 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4343/0.4344, allocations: 72.3 MB / 0.5603 GB, free: 40.44 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.647/5.081, allocations: 1.684 GB / 2.244 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005041/5.082, allocations: 94.38 kB / 2.244 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1353/5.217, allocations: 59.25 MB / 2.302 GB, free: 8.629 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.843e-06/5.217, allocations: 0 / 2.302 GB, free: 8.629 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001219/5.217, allocations: 23.94 kB / 2.302 GB, free: 8.605 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.002776/5.22, allocations: 1.063 MB / 2.303 GB, free: 7.496 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/5.22, allocations: 11.98 kB / 2.303 GB, free: 7.484 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000309/5.221, allocations: 130.9 kB / 2.303 GB, free: 7.348 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/5.222, allocations: 186.6 kB / 2.304 GB, free: 7.164 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/5.223, allocations: 0.6036 MB / 2.304 GB, free: 6.52 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.218e-05/5.223, allocations: 62 kB / 2.304 GB, free: 6.457 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/5.223, allocations: 80 kB / 2.304 GB, free: 6.379 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/5.225, allocations: 0.8288 MB / 2.305 GB, free: 5.512 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/5.225, allocations: 0 / 2.305 GB, free: 5.512 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.14e-05/5.225, allocations: 40 kB / 2.305 GB, free: 5.473 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.935e-05/5.225, allocations: 20 kB / 2.305 GB, free: 5.453 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001512/5.226, allocations: 1.023 MB / 2.306 GB, free: 4.426 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003908/5.23, allocations: 2.406 MB / 2.309 GB, free: 1.949 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/5.232, allocations: 0.7634 MB / 2.309 GB, free: 1.16 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003652/5.232, allocations: 260 kB / 2.31 GB, free: 0.9062 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.042e-05/5.232, allocations: 36.53 kB / 2.31 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005986/5.233, allocations: 413.1 kB / 2.31 GB, free: 456 kB / 0.6042 GB Notification: Performance of pre-optimization done (n=72): time 2.835e-06/5.233, allocations: 0 / 2.31 GB, free: 456 kB / 0.6042 GB Notification: Performance of matching and sorting (n=72): time 0.4365/5.669, allocations: 0.6698 MB / 2.311 GB, free: 196.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/5.669, allocations: 242 kB / 2.311 GB, free: 196.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001582/5.671, allocations: 0.5758 MB / 2.311 GB, free: 196.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002549/5.671, allocations: 43.58 kB / 2.311 GB, free: 196.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004079/5.672, allocations: 377.9 kB / 2.312 GB, free: 196.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002465/5.672, allocations: 238.6 kB / 2.312 GB, free: 196.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/5.672, allocations: 10.59 kB / 2.312 GB, free: 196.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001709/5.672, allocations: 381.7 kB / 2.312 GB, free: 195.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000468/5.673, allocations: 193.4 kB / 2.313 GB, free: 195.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005531/5.673, allocations: 307.8 kB / 2.313 GB, free: 195.9 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006208/5.674, allocations: 243.8 kB / 2.313 GB, free: 195.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/5.674, allocations: 0.8125 kB / 2.313 GB, free: 195.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002206/5.676, allocations: 0.6849 MB / 2.314 GB, free: 195.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.456e-05/5.676, allocations: 5.797 kB / 2.314 GB, free: 195.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/5.676, allocations: 3.469 kB / 2.314 GB, free: 195.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000698/5.677, allocations: 79.75 kB / 2.314 GB, free: 195.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007015/5.677, allocations: 140.6 kB / 2.314 GB, free: 195.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002059/5.68, allocations: 1.515 MB / 2.316 GB, free: 194.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007136/5.68, allocations: 80.98 kB / 2.316 GB, free: 194.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.77e-05/5.68, allocations: 26.5 kB / 2.316 GB, free: 194.4 MB / 0.6042 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.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete 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.0001937/5.681, allocations: 152.6 kB / 2.316 GB, free: 194.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/5.681, allocations: 76.44 kB / 2.316 GB, free: 194.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002937/5.684, allocations: 0.9677 MB / 2.317 GB, free: 194.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-05/5.684, allocations: 11.92 kB / 2.317 GB, free: 194.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/5.684, allocations: 0.5312 kB / 2.317 GB, free: 194.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/5.684, allocations: 4.078 kB / 2.317 GB, free: 194.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004157/5.688, allocations: 1.866 MB / 2.319 GB, free: 193.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/5.688, allocations: 3.531 kB / 2.319 GB, free: 193.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005488/5.688, allocations: 142 kB / 2.319 GB, free: 193.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004875/5.689, allocations: 87.52 kB / 2.319 GB, free: 193.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.163e-05/5.689, allocations: 21.62 kB / 2.319 GB, free: 193.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001535/5.691, allocations: 1.543 MB / 2.32 GB, free: 192.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/5.691, allocations: 0 / 2.32 GB, free: 192.6 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001632/5.692, allocations: 0.8766 MB / 2.321 GB, free: 192.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004379/5.693, allocations: 284.5 kB / 2.322 GB, free: 192.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.825e-05/5.693, allocations: 16.81 kB / 2.322 GB, free: 192.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005434/5.693, allocations: 69.98 kB / 2.322 GB, free: 192.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/5.693, allocations: 56.19 kB / 2.322 GB, free: 192.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.806e-05/5.694, allocations: 32.34 kB / 2.322 GB, free: 192.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006585/5.694, allocations: 477 kB / 2.322 GB, free: 192.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/5.694, allocations: 3.062 kB / 2.322 GB, free: 192.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001238/5.695, allocations: 358.6 kB / 2.322 GB, free: 192.1 MB / 0.6042 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * 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.003784/5.699, allocations: 2.343 MB / 2.325 GB, free: 191.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001354/5.701, allocations: 0.6806 MB / 2.325 GB, free: 191.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/5.701, allocations: 0 / 2.325 GB, free: 191.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006892/5.701, allocations: 469.7 kB / 2.326 GB, free: 191.1 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/5.703, allocations: 238.4 kB / 2.326 GB, free: 191.1 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004709/5.707, allocations: 1.548 MB / 2.328 GB, free: 190.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005958/5.708, allocations: 1.023 MB / 2.329 GB, free: 190 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001024/5.709, allocations: 260.1 kB / 2.329 GB, free: 190 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005374/5.71, allocations: 351 kB / 2.329 GB, free: 190 MB / 0.6042 GB Notification: Performance of SimCode: time 1.413e-06/5.71, allocations: 3.719 kB / 2.329 GB, free: 190 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05781/5.767, allocations: 30.86 MB / 2.359 GB, free: 184.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001811/5.768, allocations: 250.1 kB / 2.36 GB, free: 184.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.125/8.893, allocations: 0 / 2.36 GB, free: 184.5 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)