Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 99.08 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.018/1.018, allocations: 135.2 MB / 426.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000387/0.0003872, allocations: 14.59 kB / 0.5069 GB, free: 5.172 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.1894, allocations: 82.31 MB / 0.5873 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.004783/0.1942, allocations: 3.475 MB / 0.5907 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6336/0.8278, allocations: 127.4 MB / 0.7151 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008715/0.8288, allocations: 13.47 kB / 0.7151 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004693/0.8292, allocations: 74.91 kB / 0.7152 GB, free: 15.16 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001973/0.8312, allocations: 467.5 kB / 0.7157 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002435/0.8337, allocations: 0.6054 MB / 0.7162 GB, free: 14.58 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001797/0.8355, allocations: 0.7428 MB / 0.717 GB, free: 14.18 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009973/0.8365, allocations: 472.3 kB / 0.7174 GB, free: 14 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007958/0.8373, allocations: 308.3 kB / 0.7177 GB, free: 13.86 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005584/0.8379, allocations: 298 kB / 0.718 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.008e-05/0.838, allocations: 20.38 kB / 0.718 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.8392, allocations: 308.6 kB / 0.7183 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002878/0.8395, allocations: 161 kB / 0.7185 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002615/0.8398, allocations: 183.3 kB / 0.7186 GB, free: 13.44 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001782/0.8416, allocations: 1.062 MB / 0.7197 GB, free: 13.17 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.8416, allocations: 0 / 0.7197 GB, free: 13.17 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.655e-06/0.8416, allocations: 3.938 kB / 0.7197 GB, free: 13.16 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.501e-05/0.8416, allocations: 1.219 kB / 0.7197 GB, free: 13.16 MB / 0.545 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.002896/0.8445, allocations: 1.138 MB / 0.7208 GB, free: 12.36 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.709e-05/0.8446, allocations: 9.938 kB / 0.7208 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002388/0.8448, allocations: 130.4 kB / 0.7209 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.8459, allocations: 188.7 kB / 0.7211 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.8473, allocations: 0.6827 MB / 0.7218 GB, free: 11.76 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.528e-05/0.8474, allocations: 58 kB / 0.7218 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/0.8475, allocations: 78.19 kB / 0.7219 GB, free: 11.71 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001887/0.8494, allocations: 0.8597 MB / 0.7227 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.8495, allocations: 5.094 kB / 0.7227 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.695e-05/0.8496, allocations: 32.34 kB / 0.7228 GB, free: 11.28 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.702e-05/0.8496, allocations: 23.97 kB / 0.7228 GB, free: 11.27 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001998/0.8516, allocations: 1.072 MB / 0.7238 GB, free: 11.03 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004739/0.8564, allocations: 2.414 MB / 0.7262 GB, free: 9.676 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00154/0.8579, allocations: 0.8018 MB / 0.727 GB, free: 9.309 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.729e-05/0.858, allocations: 33.02 kB / 0.727 GB, free: 9.297 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009205/0.8589, allocations: 430.7 kB / 0.7274 GB, free: 9.117 MB / 0.545 GB Notification: Performance of pre-optimization done (n=73): time 2.304e-06/0.859, allocations: 0 / 0.7274 GB, free: 9.117 MB / 0.545 GB Notification: Performance of matching and sorting (n=73): time 0.003145/0.8621, allocations: 1.093 MB / 0.7285 GB, free: 8.656 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.8622, allocations: 188.1 kB / 0.7287 GB, free: 8.438 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000803/0.863, allocations: 0.5804 MB / 0.7292 GB, free: 8.176 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.543e-05/0.8631, allocations: 38.58 kB / 0.7293 GB, free: 8.137 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003319/0.8635, allocations: 380.8 kB / 0.7296 GB, free: 7.836 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000226/0.8637, allocations: 238.6 kB / 0.7299 GB, free: 7.648 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.415e-05/0.8637, allocations: 10.53 kB / 0.7299 GB, free: 7.641 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.8639, allocations: 382.6 kB / 0.7302 GB, free: 7.297 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004497/0.8644, allocations: 215.9 kB / 0.7305 GB, free: 7.227 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005225/0.8649, allocations: 324.1 kB / 0.7308 GB, free: 7.051 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004799/0.8654, allocations: 265.7 kB / 0.731 GB, free: 6.941 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/0.8654, allocations: 0 / 0.731 GB, free: 6.941 MB / 0.545 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0017/0.8671, allocations: 0.7345 MB / 0.7317 GB, free: 6.648 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.8671, allocations: 3.594 kB / 0.7317 GB, free: 6.648 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.8672, allocations: 2.828 kB / 0.7317 GB, free: 6.648 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005834/0.8677, allocations: 84.97 kB / 0.7318 GB, free: 6.629 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000613/0.8684, allocations: 148 kB / 0.732 GB, free: 6.613 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002006/0.8704, allocations: 1.528 MB / 0.7335 GB, free: 5.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006604/0.8711, allocations: 81.84 kB / 0.7335 GB, free: 5.141 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-05/0.8711, allocations: 31.11 kB / 0.7336 GB, free: 5.133 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (77): * Single equations (assignments): 76 * 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.0004746/0.8716, allocations: 249.9 kB / 0.7338 GB, free: 4.945 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.8717, allocations: 80.7 kB / 0.7339 GB, free: 4.902 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002271/0.874, allocations: 1.02 MB / 0.7349 GB, free: 4.379 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.874, allocations: 8 kB / 0.7349 GB, free: 4.371 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.874, allocations: 0 / 0.7349 GB, free: 4.371 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/0.8741, allocations: 5.812 kB / 0.7349 GB, free: 4.371 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003314/0.8774, allocations: 1.881 MB / 0.7367 GB, free: 2.773 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.8774, allocations: 4 kB / 0.7367 GB, free: 2.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006284/0.878, allocations: 147.4 kB / 0.7369 GB, free: 2.645 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00052/0.8786, allocations: 87.2 kB / 0.7369 GB, free: 2.578 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.426e-05/0.8786, allocations: 25.48 kB / 0.737 GB, free: 2.559 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001817/0.8805, allocations: 1.548 MB / 0.7385 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.8805, allocations: 4.031 kB / 0.7385 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001889/0.8824, allocations: 0.9264 MB / 0.7394 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004562/0.8829, allocations: 271.7 kB / 0.7397 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.883, allocations: 16 kB / 0.7397 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005873/0.8836, allocations: 70.56 kB / 0.7397 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.8837, allocations: 68.89 kB / 0.7398 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.579e-05/0.8838, allocations: 31.98 kB / 0.7398 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005956/0.8844, allocations: 419.1 kB / 0.7402 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.61e-07/0.8844, allocations: 4 kB / 0.7402 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001134/0.8855, allocations: 287.2 kB / 0.7405 GB, free: 14.8 MB / 0.5606 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 (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.003576/0.8891, allocations: 1.958 MB / 0.7424 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001564/0.8907, allocations: 0.727 MB / 0.7431 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.8907, allocations: 0 / 0.7431 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008442/0.8916, allocations: 0.4892 MB / 0.7436 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.8927, allocations: 250.6 kB / 0.7438 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009761/0.9025, allocations: 5.221 MB / 0.7489 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006732/0.9032, allocations: 1.023 MB / 0.7499 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009452/0.9042, allocations: 254.2 kB / 0.7502 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005094/0.9047, allocations: 355.3 kB / 0.7505 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of SimCode: time 1.723e-06/0.9047, allocations: 4 kB / 0.7505 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0481/0.9528, allocations: 19.81 MB / 0.7699 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002488/0.9531, allocations: 290.2 kB / 0.7701 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.397/3.35, allocations: 6.609 kB / 0.7702 GB, free: 0.8359 MB / 0.5762 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) Environment - environmentSimulation: