Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.008252/0.008252, allocations: 170.3 kB / 15.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8704/0.8704, allocations: 135.2 MB / 151 MB, free: 13.8 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.507/1.507, 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.001063/0.001063, allocations: 93.14 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003362/0.0003361, allocations: 8 kB / 0.5692 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4212/0.4215, allocations: 82.3 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.933/4.354, allocations: 1.693 GB / 2.343 GB, free: 23.67 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/4.355, allocations: 99.94 kB / 2.343 GB, free: 23.57 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.5509/4.906, allocations: 58.94 MB / 2.401 GB, free: 241.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.785e-06/4.906, allocations: 0 / 2.401 GB, free: 241.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.397e-05/4.906, allocations: 22.97 kB / 2.401 GB, free: 241.8 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.002193/4.908, allocations: 1.159 MB / 2.402 GB, free: 240.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/4.908, allocations: 12.03 kB / 2.402 GB, free: 240.8 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001483/4.908, allocations: 126.8 kB / 2.402 GB, free: 240.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008291/4.909, allocations: 182.6 kB / 2.402 GB, free: 240.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009114/4.91, allocations: 0.6116 MB / 2.403 GB, free: 239.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.273e-05/4.91, allocations: 58 kB / 2.403 GB, free: 239.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.749e-05/4.91, allocations: 72 kB / 2.403 GB, free: 239.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/4.911, allocations: 0.8364 MB / 2.404 GB, free: 238.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/4.911, allocations: 4 kB / 2.404 GB, free: 238.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.692e-05/4.911, allocations: 32 kB / 2.404 GB, free: 238.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/4.911, allocations: 16 kB / 2.404 GB, free: 238.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/4.913, allocations: 1.054 MB / 2.405 GB, free: 237.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003088/4.916, allocations: 2.374 MB / 2.407 GB, free: 235.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/4.917, allocations: 0.7854 MB / 2.408 GB, free: 234.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.43e-05/4.917, allocations: 32.36 kB / 2.408 GB, free: 234.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006127/4.918, allocations: 417.8 kB / 2.408 GB, free: 234.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=70): time 2.185e-06/4.918, allocations: 0 / 2.408 GB, free: 234.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70): time 0.002591/4.92, allocations: 1.064 MB / 2.409 GB, free: 233 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.712e-05/4.92, allocations: 247.9 kB / 2.41 GB, free: 232.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006453/4.921, allocations: 0.5697 MB / 2.41 GB, free: 232.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.767e-05/4.921, allocations: 45.7 kB / 2.41 GB, free: 232.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002322/4.921, allocations: 368.3 kB / 2.41 GB, free: 231.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/4.922, allocations: 228.5 kB / 2.411 GB, free: 231.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/4.922, allocations: 12 kB / 2.411 GB, free: 231.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001065/4.922, allocations: 386.7 kB / 2.411 GB, free: 231.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003446/4.922, allocations: 205.2 kB / 2.411 GB, free: 230.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004175/4.922, allocations: 323.6 kB / 2.412 GB, free: 230.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004029/4.923, allocations: 255.1 kB / 2.412 GB, free: 230.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/4.923, allocations: 4 kB / 2.412 GB, free: 230.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001431/4.924, allocations: 0.7002 MB / 2.412 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/4.924, allocations: 7.984 kB / 2.412 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/4.924, allocations: 3.938 kB / 2.412 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000607/4.925, allocations: 80.84 kB / 2.413 GB, free: 229.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005118/4.926, allocations: 135.8 kB / 2.413 GB, free: 229.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001885/4.927, allocations: 1.543 MB / 2.414 GB, free: 227.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006288/4.928, allocations: 75.56 kB / 2.414 GB, free: 227.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.523e-05/4.928, allocations: 23.98 kB / 2.414 GB, free: 227.6 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 (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.0004771/4.929, allocations: 249.7 kB / 2.415 GB, free: 227.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/4.929, allocations: 75.06 kB / 2.415 GB, free: 227.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002012/4.931, allocations: 0.9782 MB / 2.416 GB, free: 226.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/4.931, allocations: 12 kB / 2.416 GB, free: 226.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/4.931, allocations: 4 kB / 2.416 GB, free: 226.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/4.931, allocations: 7.922 kB / 2.416 GB, free: 226.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002889/4.934, allocations: 1.849 MB / 2.417 GB, free: 224.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/4.934, allocations: 4 kB / 2.417 GB, free: 224.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004961/4.934, allocations: 135.8 kB / 2.418 GB, free: 224.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005268/4.935, allocations: 80.78 kB / 2.418 GB, free: 224.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.702e-05/4.935, allocations: 23.98 kB / 2.418 GB, free: 224.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001514/4.936, allocations: 1.571 MB / 2.419 GB, free: 222.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/4.936, allocations: 0 / 2.419 GB, free: 222.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001557/4.938, allocations: 0.8868 MB / 2.42 GB, free: 221.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003643/4.938, allocations: 287.8 kB / 2.42 GB, free: 221.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.364e-05/4.938, allocations: 12 kB / 2.42 GB, free: 221.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005719/4.939, allocations: 63.94 kB / 2.42 GB, free: 221.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/4.939, allocations: 61.2 kB / 2.42 GB, free: 221 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.315e-05/4.939, allocations: 27.98 kB / 2.42 GB, free: 221 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005057/4.94, allocations: 479 kB / 2.421 GB, free: 220.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.2e-07/4.94, allocations: 0 / 2.421 GB, free: 220.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001194/4.941, allocations: 355.1 kB / 2.421 GB, free: 220.2 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 (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.003972/4.945, allocations: 2.392 MB / 2.424 GB, free: 218.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001394/4.946, allocations: 0.7121 MB / 2.424 GB, free: 217.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/4.946, allocations: 4.125 kB / 2.424 GB, free: 217.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007596/4.947, allocations: 484.2 kB / 2.425 GB, free: 216.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/4.948, allocations: 230.2 kB / 2.425 GB, free: 216.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008714/4.957, allocations: 4.918 MB / 2.43 GB, free: 211.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004256/4.957, allocations: 1.011 MB / 2.431 GB, free: 210.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008548/4.958, allocations: 249.9 kB / 2.431 GB, free: 210.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004787/4.959, allocations: 343.3 kB / 2.431 GB, free: 210.1 MB / 0.6823 GB Notification: Performance of SimCode: time 1.302e-06/4.959, allocations: 0 / 2.431 GB, free: 210.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05102/5.01, allocations: 28.8 MB / 2.459 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001976/5.01, allocations: 277.3 kB / 2.46 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.227/8.237, allocations: 0 / 2.46 GB, free: 181.2 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)