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.001419/0.001419, allocations: 180.9 kB / 7.651 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.8278/0.8278, allocations: 133.6 MB / 141.6 MB, free: 2.883 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.661/1.661, allocations: 221.5 MB / 395.5 MB, free: 10.83 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.0009063/0.0009063, allocations: 107.5 kB / 478.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.188e-05/2.192e-05, allocations: 4 kB / 0.5535 GB, free: 8.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5251/0.5251, allocations: 82.3 MB / 0.6339 GB, free: 40.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.701/5.226, allocations: 1.693 GB / 2.327 GB, free: 43.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004073/5.227, allocations: 86.64 kB / 2.327 GB, free: 43.46 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.7219/5.949, allocations: 62.61 MB / 2.388 GB, free: 234.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.976e-06/5.949, allocations: 3.719 kB / 2.388 GB, free: 234.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001904/5.949, allocations: 26.28 kB / 2.388 GB, free: 234.5 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.003917/5.953, allocations: 1.054 MB / 2.389 GB, free: 233.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.707e-05/5.953, allocations: 15.34 kB / 2.389 GB, free: 233.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001637/5.955, allocations: 178.8 kB / 2.389 GB, free: 233.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002134/5.957, allocations: 0.6072 MB / 2.39 GB, free: 233.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.282e-05/5.957, allocations: 28.72 kB / 2.39 GB, free: 233.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002872/5.957, allocations: 45.75 kB / 2.39 GB, free: 233.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002579/5.96, allocations: 0.9718 MB / 2.391 GB, free: 233.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00229/5.962, allocations: 0.7203 MB / 2.391 GB, free: 233.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.012e-05/5.962, allocations: 0 / 2.391 GB, free: 233.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000134/5.962, allocations: 0 / 2.391 GB, free: 233.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.707e-05/5.962, allocations: 21 kB / 2.392 GB, free: 233.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005641/5.968, allocations: 2.259 MB / 2.394 GB, free: 232.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/5.969, allocations: 0.7292 MB / 2.394 GB, free: 232.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004696/5.97, allocations: 243.3 kB / 2.395 GB, free: 232.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001249/5.97, allocations: 33.08 kB / 2.395 GB, free: 232.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008236/5.971, allocations: 378.8 kB / 2.395 GB, free: 232.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=70): time 6.492e-06/5.971, allocations: 0 / 2.395 GB, free: 232.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70): time 0.002273/5.973, allocations: 0.6316 MB / 2.396 GB, free: 232.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001447/5.973, allocations: 246.6 kB / 2.396 GB, free: 232.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001395/5.975, allocations: 498.8 kB / 2.396 GB, free: 232.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001099/5.975, allocations: 28.77 kB / 2.396 GB, free: 232.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000552/5.975, allocations: 375.8 kB / 2.397 GB, free: 231.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003423/5.976, allocations: 221.7 kB / 2.397 GB, free: 231.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.066e-05/5.976, allocations: 0 / 2.397 GB, free: 231.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001956/5.976, allocations: 372.8 kB / 2.397 GB, free: 231.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004351/5.977, allocations: 184.9 kB / 2.398 GB, free: 231.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006151/5.977, allocations: 286.3 kB / 2.398 GB, free: 231.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006893/5.978, allocations: 235.8 kB / 2.398 GB, free: 231.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/5.978, allocations: 3.281 kB / 2.398 GB, free: 231.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002104/5.98, allocations: 0.6289 MB / 2.399 GB, free: 231.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.223e-05/5.98, allocations: 8.062 kB / 2.399 GB, free: 231.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/5.98, allocations: 0 / 2.399 GB, free: 231.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007723/5.981, allocations: 77.77 kB / 2.399 GB, free: 231.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000793/5.982, allocations: 136.4 kB / 2.399 GB, free: 231.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002144/5.984, allocations: 1.47 MB / 2.4 GB, free: 230 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008081/5.985, allocations: 65.73 kB / 2.4 GB, free: 230 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-05/5.985, allocations: 25.23 kB / 2.4 GB, free: 230 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 (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.0002504/5.985, allocations: 116 kB / 2.4 GB, free: 229.9 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001687/5.987, allocations: 0.6378 MB / 2.401 GB, free: 229.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002007/5.987, allocations: 73.77 kB / 2.401 GB, free: 229.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001896/5.989, allocations: 0.8768 MB / 2.402 GB, free: 229.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/5.989, allocations: 9.594 kB / 2.402 GB, free: 229.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/5.989, allocations: 2.531 kB / 2.402 GB, free: 229.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/5.989, allocations: 3.75 kB / 2.402 GB, free: 229.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003091/5.992, allocations: 1.7 MB / 2.404 GB, free: 229.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/5.992, allocations: 0 / 2.404 GB, free: 229.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005103/5.993, allocations: 143.7 kB / 2.404 GB, free: 229.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004854/5.993, allocations: 80.7 kB / 2.404 GB, free: 229.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.11e-05/5.993, allocations: 21.61 kB / 2.404 GB, free: 229.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001737/5.995, allocations: 1.484 MB / 2.405 GB, free: 228.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/5.995, allocations: 11 kB / 2.405 GB, free: 228.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/5.997, allocations: 0.8096 MB / 2.406 GB, free: 227.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004988/5.997, allocations: 270.5 kB / 2.406 GB, free: 227.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001716/5.997, allocations: 0 / 2.406 GB, free: 227.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006471/5.998, allocations: 52.62 kB / 2.406 GB, free: 227.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/5.998, allocations: 57.23 kB / 2.407 GB, free: 227.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.07e-05/5.998, allocations: 31.11 kB / 2.407 GB, free: 227.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00067/5.999, allocations: 394.7 kB / 2.407 GB, free: 227.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/5.999, allocations: 0 / 2.407 GB, free: 227.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001493/6, allocations: 322 kB / 2.407 GB, free: 227.6 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 (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.004129/6.004, allocations: 2.336 MB / 2.41 GB, free: 226.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001236/6.006, allocations: 0.6348 MB / 2.41 GB, free: 226.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/6.006, allocations: 0 / 2.41 GB, free: 226.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006824/6.006, allocations: 436.9 kB / 2.411 GB, free: 226.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/6.008, allocations: 223.9 kB / 2.411 GB, free: 226.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004637/6.012, allocations: 1.46 MB / 2.412 GB, free: 226.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006842/6.013, allocations: 1.008 MB / 2.413 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008978/6.014, allocations: 242 kB / 2.413 GB, free: 225.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005378/6.014, allocations: 342 kB / 2.414 GB, free: 225.3 MB / 0.6823 GB Notification: Performance of SimCode: time 1.383e-06/6.015, allocations: 0 / 2.414 GB, free: 225.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0641/6.079, allocations: 22.79 MB / 2.436 GB, free: 213 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002078/6.079, allocations: 176.6 kB / 2.436 GB, free: 212.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.912/8.991, allocations: 7.938 kB / 2.436 GB, free: 212.8 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)