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.006171/0.006171, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001409/0.001409, allocations: 190.4 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9399/0.9399, allocations: 135.1 MB / 425.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 71.89 kB / 0.5851 GB, free: 3.844 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4268/0.4281, allocations: 80.91 MB / 0.6641 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.004871/0.433, allocations: 4.134 MB / 0.6682 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1799/0.6129, allocations: 150.5 MB / 0.8151 GB, free: 6.418 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00131/0.6143, allocations: 19.88 kB / 0.8152 GB, free: 6.398 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006687/0.615, allocations: 174.5 kB / 0.8153 GB, free: 6.227 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001799/0.6168, allocations: 485 kB / 0.8158 GB, free: 5.754 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002035/0.6189, allocations: 0.8002 MB / 0.8166 GB, free: 4.961 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00148/0.6203, allocations: 1.199 MB / 0.8177 GB, free: 3.754 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008918/0.6212, allocations: 0.6061 MB / 0.8183 GB, free: 3.133 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005787/0.6218, allocations: 446.4 kB / 0.8188 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004461/0.6223, allocations: 450 kB / 0.8192 GB, free: 2.254 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001234/0.6224, allocations: 104 kB / 0.8193 GB, free: 2.152 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009008/0.6233, allocations: 471.6 kB / 0.8197 GB, free: 1.691 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002405/0.6236, allocations: 271.1 kB / 0.82 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003938/0.624, allocations: 0.4973 MB / 0.8205 GB, free: 0.9258 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001527/0.6255, allocations: 1.487 MB / 0.8219 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.6255, allocations: 0 / 0.8219 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6255, allocations: 0 / 0.8219 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.3e-05/0.6256, allocations: 0 / 0.8219 GB, free: 15.43 MB / 0.6544 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.002113/0.6277, allocations: 1.334 MB / 0.8232 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.6277, allocations: 12.03 kB / 0.8232 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001615/0.6279, allocations: 127.2 kB / 0.8234 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008917/0.6288, allocations: 183.5 kB / 0.8235 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.6299, allocations: 0.7265 MB / 0.8242 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.789e-05/0.6299, allocations: 58 kB / 0.8243 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.63, allocations: 76 kB / 0.8244 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/0.6315, allocations: 0.8716 MB / 0.8252 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/0.6315, allocations: 0 / 0.8252 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-05/0.6316, allocations: 35.94 kB / 0.8253 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.804e-05/0.6316, allocations: 24 kB / 0.8253 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001633/0.6333, allocations: 1.069 MB / 0.8263 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00358/0.6369, allocations: 2.355 MB / 0.8286 GB, free: 8.355 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/0.6381, allocations: 0.7997 MB / 0.8294 GB, free: 7.535 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004666/0.6386, allocations: 274.7 kB / 0.8297 GB, free: 7.266 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.771e-05/0.6387, allocations: 36.67 kB / 0.8297 GB, free: 7.23 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007445/0.6395, allocations: 431.2 kB / 0.8301 GB, free: 6.793 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=73): time 2.154e-06/0.6395, allocations: 0 / 0.8301 GB, free: 6.793 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73): time 0.002931/0.6424, allocations: 1.077 MB / 0.8312 GB, free: 5.691 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.6425, allocations: 188.6 kB / 0.8313 GB, free: 5.465 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007172/0.6433, allocations: 0.5862 MB / 0.8319 GB, free: 4.875 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.983e-05/0.6433, allocations: 37.7 kB / 0.832 GB, free: 4.832 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002894/0.6436, allocations: 380.2 kB / 0.8323 GB, free: 4.453 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002134/0.6439, allocations: 248.4 kB / 0.8326 GB, free: 4.207 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002065/0.6441, allocations: 134.2 kB / 0.8327 GB, free: 4.07 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.6442, allocations: 382.7 kB / 0.833 GB, free: 3.688 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004183/0.6447, allocations: 217.1 kB / 0.8333 GB, free: 3.477 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005108/0.6452, allocations: 323.6 kB / 0.8336 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009336/0.6461, allocations: 0.5363 MB / 0.8341 GB, free: 2.574 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.6461, allocations: 4 kB / 0.8341 GB, free: 2.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001707/0.6479, allocations: 0.7197 MB / 0.8348 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.6479, allocations: 14.78 kB / 0.8348 GB, free: 1.828 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.6479, allocations: 0 / 0.8348 GB, free: 1.828 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00058/0.6485, allocations: 80.78 kB / 0.8349 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005782/0.6491, allocations: 143.7 kB / 0.835 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002057/0.6512, allocations: 1.641 MB / 0.8366 GB, free: 15.82 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005474/0.6517, allocations: 71.41 kB / 0.8367 GB, free: 15.75 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.648e-05/0.6518, allocations: 27.98 kB / 0.8367 GB, free: 15.73 MB / 0.67 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 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000405/0.6522, allocations: 247 kB / 0.837 GB, free: 15.48 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.6524, allocations: 83 kB / 0.837 GB, free: 15.39 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002187/0.6546, allocations: 1.002 MB / 0.838 GB, free: 14.38 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.6546, allocations: 12 kB / 0.838 GB, free: 14.37 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.6546, allocations: 0 / 0.838 GB, free: 14.37 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.6546, allocations: 3.984 kB / 0.838 GB, free: 14.37 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00302/0.6576, allocations: 1.869 MB / 0.8399 GB, free: 12.43 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.6577, allocations: 0 / 0.8399 GB, free: 12.43 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005522/0.6582, allocations: 143.8 kB / 0.84 GB, free: 12.29 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004173/0.6586, allocations: 72.78 kB / 0.8401 GB, free: 12.22 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.936e-05/0.6587, allocations: 23.98 kB / 0.8401 GB, free: 12.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001855/0.6606, allocations: 1.65 MB / 0.8417 GB, free: 10.39 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.6606, allocations: 3.984 kB / 0.8417 GB, free: 10.39 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001732/0.6623, allocations: 0.9162 MB / 0.8426 GB, free: 9.457 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003127/0.6626, allocations: 263.8 kB / 0.8428 GB, free: 9.18 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.532e-05/0.6627, allocations: 20 kB / 0.8429 GB, free: 9.16 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005321/0.6633, allocations: 60 kB / 0.8429 GB, free: 9.102 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.6634, allocations: 60.91 kB / 0.843 GB, free: 9.039 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.346e-05/0.6635, allocations: 35.98 kB / 0.843 GB, free: 9.004 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005058/0.664, allocations: 426.9 kB / 0.8434 GB, free: 8.594 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.11e-07/0.664, allocations: 0 / 0.8434 GB, free: 8.594 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008026/0.6648, allocations: 295.2 kB / 0.8437 GB, free: 8.305 MB / 0.67 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003215/0.668, allocations: 1.966 MB / 0.8456 GB, free: 6.492 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001474/0.6695, allocations: 0.7199 MB / 0.8463 GB, free: 5.762 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.6695, allocations: 4.25 kB / 0.8463 GB, free: 5.758 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008305/0.6704, allocations: 496.3 kB / 0.8468 GB, free: 5.262 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.6716, allocations: 287.8 kB / 0.8471 GB, free: 4.996 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01141/0.683, allocations: 5.873 MB / 0.8528 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001072/0.6841, allocations: 1.006 MB / 0.8538 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001037/0.6852, allocations: 258.2 kB / 0.854 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000675/0.6859, allocations: 355.3 kB / 0.8544 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of SimCode: time 2.064e-06/0.6859, allocations: 0 / 0.8544 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4502/1.136, allocations: 19.94 MB / 0.8739 GB, free: 190.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.57/13.71, allocations: 16.19 kB / 0.8739 GB, free: 190.1 MB / 0.6856 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/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)