Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",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.001483/0.001483, allocations: 172.5 kB / 7.647 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.8293/0.8293, allocations: 133.6 MB / 141.6 MB, free: 2.945 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.777/1.777, allocations: 221.5 MB / 395.4 MB, free: 10.78 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.001157/0.001158, allocations: 98.88 kB / 478.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.204e-05/2.207e-05, allocations: 0 / 0.5535 GB, free: 8.969 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5879/0.5879, allocations: 82.31 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.405/4.993, allocations: 1.693 GB / 2.327 GB, free: 53.28 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/4.993, allocations: 92.88 kB / 2.327 GB, free: 53.23 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.57/5.563, allocations: 58.49 MB / 2.384 GB, free: 231.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.645e-06/5.563, allocations: 0 / 2.384 GB, free: 231.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000164/5.563, allocations: 25.39 kB / 2.384 GB, free: 231.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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002776/5.566, allocations: 1.062 MB / 2.385 GB, free: 231.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/5.566, allocations: 10.06 kB / 2.385 GB, free: 231.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/5.567, allocations: 195.2 kB / 2.385 GB, free: 231.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/5.569, allocations: 0.6097 MB / 2.386 GB, free: 230.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.272e-05/5.569, allocations: 25.25 kB / 2.386 GB, free: 230.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/5.569, allocations: 46.06 kB / 2.386 GB, free: 230.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002004/5.571, allocations: 0.979 MB / 2.387 GB, free: 230.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/5.572, allocations: 0.7253 MB / 2.388 GB, free: 230.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/5.572, allocations: 0.8438 kB / 2.388 GB, free: 230.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.712e-05/5.572, allocations: 4.172 kB / 2.388 GB, free: 230.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.619e-05/5.572, allocations: 19.44 kB / 2.388 GB, free: 230.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004636/5.577, allocations: 2.263 MB / 2.39 GB, free: 230 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001337/5.578, allocations: 0.7199 MB / 2.391 GB, free: 229.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004284/5.579, allocations: 241.2 kB / 2.391 GB, free: 229.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001117/5.579, allocations: 38.5 kB / 2.391 GB, free: 229.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007771/5.58, allocations: 388.5 kB / 2.391 GB, free: 229.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 3.246e-06/5.58, allocations: 0.6562 kB / 2.391 GB, free: 229.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.002015/5.582, allocations: 0.6408 MB / 2.392 GB, free: 229.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.122e-05/5.582, allocations: 240.3 kB / 2.392 GB, free: 229.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/5.583, allocations: 0.4967 MB / 2.393 GB, free: 229.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001074/5.583, allocations: 27.23 kB / 2.393 GB, free: 229.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003864/5.584, allocations: 374.2 kB / 2.393 GB, free: 229.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002464/5.584, allocations: 236.5 kB / 2.393 GB, free: 229 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.53e-05/5.584, allocations: 0.5625 kB / 2.393 GB, free: 229 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001413/5.584, allocations: 378.4 kB / 2.394 GB, free: 228.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003848/5.584, allocations: 192.4 kB / 2.394 GB, free: 228.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004752/5.585, allocations: 292.6 kB / 2.394 GB, free: 228.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005227/5.585, allocations: 236.4 kB / 2.394 GB, free: 228.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.421e-06/5.585, allocations: 0.5312 kB / 2.394 GB, free: 228.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001626/5.587, allocations: 0.6392 MB / 2.395 GB, free: 228.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/5.587, allocations: 9.094 kB / 2.395 GB, free: 228.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/5.587, allocations: 2.719 kB / 2.395 GB, free: 228.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005765/5.588, allocations: 83.62 kB / 2.395 GB, free: 228.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000596/5.588, allocations: 139.5 kB / 2.395 GB, free: 228.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001627/5.59, allocations: 1.458 MB / 2.397 GB, free: 227.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007638/5.591, allocations: 64.02 kB / 2.397 GB, free: 227.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.186e-05/5.591, allocations: 27.66 kB / 2.397 GB, free: 227.2 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (76): * Single equations (assignments): 75 * 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.0002023/5.591, allocations: 119.2 kB / 2.397 GB, free: 227.1 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001576/5.593, allocations: 0.6414 MB / 2.397 GB, free: 227 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/5.593, allocations: 79.97 kB / 2.397 GB, free: 227 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002116/5.595, allocations: 0.9099 MB / 2.398 GB, free: 226.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/5.595, allocations: 8.75 kB / 2.398 GB, free: 226.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/5.595, allocations: 1.031 kB / 2.398 GB, free: 226.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/5.595, allocations: 4.734 kB / 2.398 GB, free: 226.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003143/5.598, allocations: 1.696 MB / 2.4 GB, free: 226.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/5.598, allocations: 0 / 2.4 GB, free: 226.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005789/5.599, allocations: 154.4 kB / 2.4 GB, free: 226.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004719/5.599, allocations: 84.84 kB / 2.4 GB, free: 226.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.024e-05/5.599, allocations: 17.52 kB / 2.4 GB, free: 226.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001448/5.601, allocations: 1.483 MB / 2.402 GB, free: 225.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-06/5.601, allocations: 0 / 2.402 GB, free: 225.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001576/5.602, allocations: 0.827 MB / 2.402 GB, free: 225.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003898/5.603, allocations: 271.8 kB / 2.403 GB, free: 225 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/5.603, allocations: 7.828 kB / 2.403 GB, free: 225 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005312/5.603, allocations: 56.44 kB / 2.403 GB, free: 225 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/5.603, allocations: 62.23 kB / 2.403 GB, free: 225 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.535e-05/5.604, allocations: 32.36 kB / 2.403 GB, free: 225 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004692/5.604, allocations: 401.2 kB / 2.403 GB, free: 224.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.2e-07/5.604, allocations: 5.953 kB / 2.403 GB, free: 224.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001132/5.605, allocations: 323.9 kB / 2.404 GB, free: 224.9 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 (87): * Single equations (assignments): 84 * 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.003299/5.608, allocations: 2.359 MB / 2.406 GB, free: 224 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001201/5.61, allocations: 0.6432 MB / 2.407 GB, free: 223.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/5.61, allocations: 0 / 2.407 GB, free: 223.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005926/5.61, allocations: 454.5 kB / 2.407 GB, free: 223.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/5.612, allocations: 213.2 kB / 2.407 GB, free: 223.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003957/5.616, allocations: 1.475 MB / 2.409 GB, free: 223.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/5.616, allocations: 1.017 MB / 2.41 GB, free: 222.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008552/5.617, allocations: 256.7 kB / 2.41 GB, free: 222.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004805/5.617, allocations: 354 kB / 2.41 GB, free: 222.7 MB / 0.6823 GB Notification: Performance of SimCode: time 2.214e-06/5.617, allocations: 3.75 kB / 2.41 GB, free: 222.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05098/5.668, allocations: 23.02 MB / 2.433 GB, free: 221 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001814/5.669, allocations: 190.6 kB / 2.433 GB, free: 220.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.019/8.688, allocations: 0 / 2.433 GB, free: 220.8 MB / 0.6823 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)