Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_dev_IDEAS_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.008558/0.008558, allocations: 171.1 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7462/0.7462, allocations: 135.2 MB / 151 MB, free: 13.84 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 223.2 MB / 406.8 MB, free: 3.23 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 96.36 kB / 489.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004079/0.000408, allocations: 8 kB / 0.5692 GB, free: 14.1 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5207/0.5211, allocations: 82.31 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.336/4.858, allocations: 1.694 GB / 2.343 GB, free: 186.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003172/4.858, allocations: 100.9 kB / 2.343 GB, free: 186.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1274/4.985, allocations: 59.54 MB / 2.401 GB, free: 175.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.175e-06/4.985, allocations: 4 kB / 2.401 GB, free: 175.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.495e-05/4.985, allocations: 19.53 kB / 2.401 GB, free: 175.7 MB / 0.6823 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.002011/4.987, allocations: 1.182 MB / 2.403 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/4.987, allocations: 7.812 kB / 2.403 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001406/4.988, allocations: 125.2 kB / 2.403 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008246/4.988, allocations: 192.3 kB / 2.403 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008801/4.989, allocations: 0.6089 MB / 2.403 GB, free: 174.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.877e-05/4.989, allocations: 62.31 kB / 2.404 GB, free: 174.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.725e-05/4.99, allocations: 78.09 kB / 2.404 GB, free: 174.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/4.991, allocations: 0.8645 MB / 2.404 GB, free: 174 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/4.991, allocations: 0 / 2.404 GB, free: 174 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-05/4.991, allocations: 34.56 kB / 2.404 GB, free: 174 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/4.991, allocations: 27.48 kB / 2.404 GB, free: 174 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001378/4.992, allocations: 1.069 MB / 2.406 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003238/4.995, allocations: 2.408 MB / 2.408 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/4.997, allocations: 0.8019 MB / 2.409 GB, free: 172.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.911e-05/4.997, allocations: 36.64 kB / 2.409 GB, free: 172.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006364/4.997, allocations: 428.9 kB / 2.409 GB, free: 172 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=72): time 2.044e-06/4.997, allocations: 4 kB / 2.409 GB, free: 172 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72): time 0.002628/5, allocations: 1.091 MB / 2.41 GB, free: 171.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.671e-05/5, allocations: 242.6 kB / 2.41 GB, free: 171.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007093/5.001, allocations: 0.5879 MB / 2.411 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.327e-05/5.001, allocations: 38.27 kB / 2.411 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002314/5.001, allocations: 374.3 kB / 2.411 GB, free: 170.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001553/5.001, allocations: 242 kB / 2.412 GB, free: 170.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.138e-05/5.001, allocations: 12.69 kB / 2.412 GB, free: 170.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000105/5.001, allocations: 381 kB / 2.412 GB, free: 170.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000364/5.002, allocations: 213.8 kB / 2.412 GB, free: 170.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004317/5.002, allocations: 326.8 kB / 2.412 GB, free: 170.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004334/5.003, allocations: 264.6 kB / 2.413 GB, free: 170.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/5.003, allocations: 0 / 2.413 GB, free: 170.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001482/5.004, allocations: 0.7238 MB / 2.413 GB, free: 170 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/5.004, allocations: 3.906 kB / 2.413 GB, free: 170 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/5.004, allocations: 3.906 kB / 2.413 GB, free: 170 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005986/5.005, allocations: 87.16 kB / 2.414 GB, free: 169.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005329/5.005, allocations: 136.9 kB / 2.414 GB, free: 169.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001724/5.007, allocations: 1.525 MB / 2.415 GB, free: 168.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005865/5.008, allocations: 79.31 kB / 2.415 GB, free: 168.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.8e-05/5.008, allocations: 30.72 kB / 2.415 GB, free: 168.5 MB / 0.6823 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 () * 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.0004325/5.008, allocations: 250.3 kB / 2.416 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/5.008, allocations: 81.34 kB / 2.416 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001987/5.01, allocations: 1.019 MB / 2.417 GB, free: 168 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/5.01, allocations: 11.72 kB / 2.417 GB, free: 168 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/5.01, allocations: 4 kB / 2.417 GB, free: 168 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/5.01, allocations: 3.984 kB / 2.417 GB, free: 168 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002868/5.013, allocations: 1.907 MB / 2.418 GB, free: 167.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/5.013, allocations: 3.984 kB / 2.418 GB, free: 167.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005353/5.014, allocations: 148.4 kB / 2.419 GB, free: 167.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004983/5.014, allocations: 90.98 kB / 2.419 GB, free: 167.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.886e-05/5.014, allocations: 26.36 kB / 2.419 GB, free: 167.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00148/5.016, allocations: 1.557 MB / 2.42 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/5.016, allocations: 0 / 2.42 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001605/5.018, allocations: 0.9246 MB / 2.421 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003942/5.018, allocations: 279.6 kB / 2.421 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.958e-05/5.018, allocations: 20.06 kB / 2.421 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005582/5.019, allocations: 61.47 kB / 2.421 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/5.019, allocations: 63.61 kB / 2.422 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.607e-05/5.019, allocations: 34.88 kB / 2.422 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005504/5.019, allocations: 482.7 kB / 2.422 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/5.019, allocations: 0 / 2.422 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001118/5.021, allocations: 354.3 kB / 2.422 GB, free: 165 MB / 0.6823 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) * Number of clocked states: 0 () * 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.003576/5.024, allocations: 2.419 MB / 2.425 GB, free: 163.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001424/5.026, allocations: 0.7288 MB / 2.425 GB, free: 163.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/5.026, allocations: 4.125 kB / 2.425 GB, free: 163.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007222/5.026, allocations: 0.4903 MB / 2.426 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/5.027, allocations: 252.7 kB / 2.426 GB, free: 163.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008514/5.036, allocations: 5.001 MB / 2.431 GB, free: 160.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004759/5.036, allocations: 1.022 MB / 2.432 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008538/5.037, allocations: 255.9 kB / 2.432 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000436/5.038, allocations: 352.9 kB / 2.433 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of SimCode: time 6.763e-06/5.038, allocations: 3.969 kB / 2.433 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.048/5.086, allocations: 29.13 MB / 2.461 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001797/5.086, allocations: 281.9 kB / 2.461 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.351/8.437, allocations: 0 / 2.461 GB, free: 133.5 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)