Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_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.001226/0.001226, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7709/0.7709, allocations: 133.6 MB / 141.6 MB, free: 2.902 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 221.5 MB / 395.4 MB, free: 10.77 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.0008475/0.0008473, allocations: 91 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.236e-05/3.245e-05, allocations: 4 kB / 0.5536 GB, free: 8.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5431/0.5431, allocations: 82.3 MB / 0.6339 GB, free: 40.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.733/5.276, allocations: 1.693 GB / 2.327 GB, free: 80.59 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003241/5.277, allocations: 91.94 kB / 2.327 GB, free: 80.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.131/5.408, allocations: 58.4 MB / 2.384 GB, free: 21.83 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.468e-06/5.408, allocations: 0 / 2.384 GB, free: 21.83 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001707/5.408, allocations: 23.94 kB / 2.384 GB, free: 21.81 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.003279/5.411, allocations: 1.066 MB / 2.385 GB, free: 20.69 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.618e-05/5.411, allocations: 12.03 kB / 2.385 GB, free: 20.68 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/5.412, allocations: 186.5 kB / 2.385 GB, free: 20.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/5.414, allocations: 0.6075 MB / 2.386 GB, free: 19.84 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.986e-05/5.414, allocations: 28 kB / 2.386 GB, free: 19.82 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.414e-05/5.414, allocations: 44 kB / 2.386 GB, free: 19.77 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001295/5.415, allocations: 0.9718 MB / 2.387 GB, free: 18.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/5.416, allocations: 0.7233 MB / 2.388 GB, free: 18.04 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/5.416, allocations: 0 / 2.388 GB, free: 18.04 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.467e-05/5.416, allocations: 0 / 2.388 GB, free: 18.04 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.369e-05/5.416, allocations: 27.95 kB / 2.388 GB, free: 18.01 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003461/5.42, allocations: 2.247 MB / 2.39 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009186/5.421, allocations: 0.7179 MB / 2.39 GB, free: 14.96 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002864/5.421, allocations: 234.5 kB / 2.391 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.193e-05/5.421, allocations: 36.58 kB / 2.391 GB, free: 14.69 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005638/5.422, allocations: 387.5 kB / 2.391 GB, free: 14.29 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=72): time 2.725e-06/5.422, allocations: 0 / 2.391 GB, free: 14.29 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72): time 0.001463/5.423, allocations: 0.6457 MB / 2.392 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.562e-05/5.423, allocations: 248 kB / 2.392 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000567/5.424, allocations: 498.3 kB / 2.392 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.264e-05/5.424, allocations: 25.7 kB / 2.392 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002453/5.424, allocations: 384.1 kB / 2.393 GB, free: 12.44 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/5.424, allocations: 232.5 kB / 2.393 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.752e-05/5.424, allocations: 0 / 2.393 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001147/5.424, allocations: 370.8 kB / 2.393 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000244/5.425, allocations: 189.5 kB / 2.394 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002973/5.425, allocations: 283.5 kB / 2.394 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003316/5.425, allocations: 232.4 kB / 2.394 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/5.425, allocations: 0 / 2.394 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001247/5.427, allocations: 0.6369 MB / 2.395 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/5.427, allocations: 4 kB / 2.395 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/5.427, allocations: 0 / 2.395 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005612/5.427, allocations: 84.83 kB / 2.395 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005256/5.428, allocations: 135.8 kB / 2.395 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001522/5.429, allocations: 1.461 MB / 2.396 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005788/5.43, allocations: 59.41 kB / 2.396 GB, free: 8.605 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.929e-05/5.43, allocations: 27.98 kB / 2.396 GB, free: 8.578 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 () * 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.0001655/5.43, allocations: 122.5 kB / 2.397 GB, free: 8.453 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001259/5.431, allocations: 0.6446 MB / 2.397 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.478e-05/5.431, allocations: 75.16 kB / 2.397 GB, free: 7.723 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001772/5.433, allocations: 0.9066 MB / 2.398 GB, free: 6.801 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/5.433, allocations: 11.95 kB / 2.398 GB, free: 6.789 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/5.433, allocations: 0 / 2.398 GB, free: 6.789 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/5.433, allocations: 7.984 kB / 2.398 GB, free: 6.781 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00256/5.436, allocations: 1.695 MB / 2.4 GB, free: 5.039 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/5.436, allocations: 4 kB / 2.4 GB, free: 5.035 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005401/5.436, allocations: 143.8 kB / 2.4 GB, free: 4.895 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004812/5.437, allocations: 84.77 kB / 2.4 GB, free: 4.809 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.668e-05/5.437, allocations: 15.98 kB / 2.4 GB, free: 4.793 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001418/5.438, allocations: 1.469 MB / 2.401 GB, free: 3.203 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/5.438, allocations: 8.125 kB / 2.401 GB, free: 3.195 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001396/5.44, allocations: 0.822 MB / 2.402 GB, free: 2.352 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003721/5.44, allocations: 279.8 kB / 2.403 GB, free: 2.059 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.676e-05/5.44, allocations: 3.984 kB / 2.403 GB, free: 2.055 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005216/5.441, allocations: 51.89 kB / 2.403 GB, free: 2.004 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/5.441, allocations: 64.69 kB / 2.403 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.326e-05/5.441, allocations: 31.94 kB / 2.403 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004841/5.442, allocations: 402.8 kB / 2.403 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/5.442, allocations: 0 / 2.403 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001208/5.443, allocations: 339 kB / 2.403 GB, free: 1.184 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) * 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.5257/5.968, allocations: 2.317 MB / 2.406 GB, free: 228.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002114/5.971, allocations: 0.6362 MB / 2.406 GB, free: 228.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.939e-06/5.971, allocations: 2.938 kB / 2.406 GB, free: 228.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000939/5.972, allocations: 448.8 kB / 2.407 GB, free: 228.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001513/5.973, allocations: 225.3 kB / 2.407 GB, free: 228.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005263/5.978, allocations: 1.472 MB / 2.408 GB, free: 228.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008848/5.979, allocations: 1.019 MB / 2.409 GB, free: 227.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001236/5.981, allocations: 251 kB / 2.41 GB, free: 227.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006372/5.981, allocations: 354.2 kB / 2.41 GB, free: 227.4 MB / 0.6823 GB Notification: Performance of SimCode: time 2.174e-06/5.981, allocations: 0 / 2.41 GB, free: 227.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06871/6.05, allocations: 22.96 MB / 2.432 GB, free: 226 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002088/6.05, allocations: 191.9 kB / 2.433 GB, free: 225.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.05/9.1, allocations: 0 / 2.433 GB, free: 225.8 MB / 0.6823 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)