Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.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.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_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.008256/0.008256, allocations: 170.4 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.727/0.727, allocations: 135.2 MB / 151 MB, free: 13.82 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.367/1.367, allocations: 223.2 MB / 406.8 MB, free: 3.219 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.001045/0.001044, allocations: 94.56 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003543/0.0003541, allocations: 8 kB / 0.5691 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3866/0.387, allocations: 82.31 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.526/4.913, allocations: 1.693 GB / 2.343 GB, free: 186.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003218/4.914, allocations: 92.61 kB / 2.343 GB, free: 186.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1442/5.058, allocations: 63.75 MB / 2.405 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.737e-06/5.058, allocations: 0 / 2.405 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000145/5.058, allocations: 27.11 kB / 2.405 GB, free: 173.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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.003559/5.062, allocations: 1.171 MB / 2.407 GB, free: 173 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.936e-05/5.062, allocations: 7.594 kB / 2.407 GB, free: 173 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003821/5.062, allocations: 127.4 kB / 2.407 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00122/5.063, allocations: 186.1 kB / 2.407 GB, free: 172.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/5.065, allocations: 0.6078 MB / 2.407 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.282e-05/5.065, allocations: 59.78 kB / 2.407 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/5.065, allocations: 75.66 kB / 2.408 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/5.067, allocations: 0.862 MB / 2.408 GB, free: 172.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/5.067, allocations: 3.938 kB / 2.408 GB, free: 172.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.239e-05/5.067, allocations: 33.25 kB / 2.408 GB, free: 172.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.069e-05/5.067, allocations: 23.2 kB / 2.408 GB, free: 172.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001703/5.068, allocations: 1.068 MB / 2.41 GB, free: 171.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003821/5.072, allocations: 2.419 MB / 2.412 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/5.073, allocations: 0.8082 MB / 2.413 GB, free: 170.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.055e-05/5.073, allocations: 23.84 kB / 2.413 GB, free: 170.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006439/5.074, allocations: 426.8 kB / 2.413 GB, free: 170.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=70): time 2.174e-06/5.074, allocations: 0 / 2.413 GB, free: 170.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70): time 0.002726/5.077, allocations: 1.089 MB / 2.414 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.723e-05/5.077, allocations: 239.7 kB / 2.414 GB, free: 169.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007562/5.078, allocations: 0.5817 MB / 2.415 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.57e-05/5.078, allocations: 42.42 kB / 2.415 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002554/5.078, allocations: 372.3 kB / 2.415 GB, free: 169 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001718/5.078, allocations: 230.4 kB / 2.416 GB, free: 168.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.125e-05/5.078, allocations: 11.75 kB / 2.416 GB, free: 168.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001091/5.078, allocations: 375.4 kB / 2.416 GB, free: 168.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003938/5.079, allocations: 217.8 kB / 2.416 GB, free: 168.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004334/5.079, allocations: 329.6 kB / 2.416 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000438/5.08, allocations: 259.6 kB / 2.417 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/5.08, allocations: 3.812 kB / 2.417 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001517/5.081, allocations: 0.7116 MB / 2.417 GB, free: 168.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/5.081, allocations: 7.812 kB / 2.417 GB, free: 168.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/5.081, allocations: 0 / 2.417 GB, free: 168.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006163/5.082, allocations: 86.52 kB / 2.417 GB, free: 168.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005545/5.082, allocations: 136.7 kB / 2.418 GB, free: 168.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001843/5.084, allocations: 1.551 MB / 2.419 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006383/5.085, allocations: 77.59 kB / 2.419 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.239e-05/5.085, allocations: 23.39 kB / 2.419 GB, free: 166.7 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.0004589/5.085, allocations: 252.2 kB / 2.419 GB, free: 166.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/5.086, allocations: 78.11 kB / 2.42 GB, free: 166.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002045/5.088, allocations: 0.9886 MB / 2.421 GB, free: 166.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/5.088, allocations: 7.812 kB / 2.421 GB, free: 166.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/5.088, allocations: 4 kB / 2.421 GB, free: 166.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/5.088, allocations: 3.984 kB / 2.421 GB, free: 166.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003/5.091, allocations: 1.91 MB / 2.422 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.79e-06/5.091, allocations: 3.953 kB / 2.422 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005324/5.091, allocations: 140.1 kB / 2.423 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005065/5.092, allocations: 87.27 kB / 2.423 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.927e-05/5.092, allocations: 21.52 kB / 2.423 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001584/5.094, allocations: 1.569 MB / 2.424 GB, free: 164 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/5.094, allocations: 0 / 2.424 GB, free: 164 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001724/5.095, allocations: 0.9012 MB / 2.425 GB, free: 163.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004645/5.096, allocations: 289.7 kB / 2.425 GB, free: 163.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001401/5.096, allocations: 14.88 kB / 2.425 GB, free: 163.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006386/5.097, allocations: 58.83 kB / 2.425 GB, free: 163.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/5.097, allocations: 66.53 kB / 2.425 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.206e-05/5.097, allocations: 30.48 kB / 2.425 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007811/5.098, allocations: 477.3 kB / 2.426 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.21e-07/5.098, allocations: 0 / 2.426 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001495/5.099, allocations: 354.2 kB / 2.426 GB, free: 163.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.004228/5.103, allocations: 2.41 MB / 2.429 GB, free: 161.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0015/5.105, allocations: 0.7211 MB / 2.429 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/5.105, allocations: 11.5 kB / 2.429 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008476/5.106, allocations: 488.2 kB / 2.43 GB, free: 161.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001375/5.107, allocations: 239.1 kB / 2.43 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/5.117, allocations: 4.951 MB / 2.435 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005317/5.118, allocations: 1.017 MB / 2.436 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001013/5.119, allocations: 255.9 kB / 2.436 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005126/5.12, allocations: 339.2 kB / 2.436 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of SimCode: time 1.112e-06/5.12, allocations: 0 / 2.436 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05561/5.175, allocations: 28.98 MB / 2.465 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001816/5.176, allocations: 255.4 kB / 2.465 GB, free: 129.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.199/8.374, allocations: 1.828 kB / 2.465 GB, free: 129.5 MB / 0.6823 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)