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.007278/0.007278, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001627/0.001627, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8828/0.8828, allocations: 135.1 MB / 425.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 66.2 kB / 0.5851 GB, free: 21.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1479, allocations: 80.92 MB / 0.6641 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005865/0.1538, allocations: 4.146 MB / 0.6682 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5986/0.7525, allocations: 150.5 MB / 0.8151 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008647/0.7534, allocations: 20.38 kB / 0.8151 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007555/0.7542, allocations: 166.7 kB / 0.8153 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001891/0.7561, allocations: 486 kB / 0.8158 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002043/0.7582, allocations: 0.7887 MB / 0.8165 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001402/0.7596, allocations: 1.2 MB / 0.8177 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009973/0.7606, allocations: 0.6167 MB / 0.8183 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007107/0.7613, allocations: 439.5 kB / 0.8187 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005865/0.7619, allocations: 448.7 kB / 0.8192 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001193/0.762, allocations: 105.9 kB / 0.8193 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007684/0.7628, allocations: 477.9 kB / 0.8197 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001915/0.763, allocations: 272.4 kB / 0.82 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003628/0.7634, allocations: 0.494 MB / 0.8205 GB, free: 6.926 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001454/0.7649, allocations: 1.489 MB / 0.8219 GB, free: 5.852 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.7649, allocations: 0 / 0.8219 GB, free: 5.852 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.874e-06/0.7649, allocations: 0 / 0.8219 GB, free: 5.852 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.469e-05/0.7649, allocations: 0 / 0.8219 GB, free: 5.852 MB / 0.5919 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.002056/0.767, allocations: 1.328 MB / 0.8232 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.767, allocations: 10.73 kB / 0.8232 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001458/0.7672, allocations: 135.6 kB / 0.8233 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008309/0.768, allocations: 176.7 kB / 0.8235 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.7691, allocations: 0.7327 MB / 0.8242 GB, free: 3.992 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.391e-05/0.7691, allocations: 58.53 kB / 0.8243 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.709e-05/0.7692, allocations: 78.91 kB / 0.8244 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.7705, allocations: 0.8674 MB / 0.8252 GB, free: 3.375 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.7706, allocations: 6.375 kB / 0.8252 GB, free: 3.371 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.032e-05/0.7706, allocations: 31.72 kB / 0.8252 GB, free: 3.348 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.7707, allocations: 19.59 kB / 0.8253 GB, free: 3.348 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0015/0.7722, allocations: 1.07 MB / 0.8263 GB, free: 2.836 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003414/0.7756, allocations: 2.347 MB / 0.8286 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001214/0.7768, allocations: 0.7917 MB / 0.8294 GB, free: 0.5742 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004475/0.7773, allocations: 288.4 kB / 0.8297 GB, free: 440 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.324e-05/0.7774, allocations: 27.55 kB / 0.8297 GB, free: 428 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007097/0.7781, allocations: 434.6 kB / 0.8301 GB, free: 136 kB / 0.5919 GB Notification: Performance of pre-optimization done (n=73): time 2.575e-06/0.7781, allocations: 0 / 0.8301 GB, free: 136 kB / 0.5919 GB Notification: Performance of matching and sorting (n=73): time 0.002799/0.7809, allocations: 1.081 MB / 0.8311 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.781, allocations: 191.6 kB / 0.8313 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006482/0.7817, allocations: 0.5877 MB / 0.8319 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.885e-05/0.7817, allocations: 40.7 kB / 0.8319 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000283/0.782, allocations: 375.6 kB / 0.8323 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002033/0.7822, allocations: 236.5 kB / 0.8325 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002112/0.7825, allocations: 140.2 kB / 0.8327 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.7826, allocations: 383.7 kB / 0.833 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004199/0.7831, allocations: 213.6 kB / 0.8332 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005241/0.7836, allocations: 328.9 kB / 0.8335 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009334/0.7845, allocations: 0.5262 MB / 0.8341 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/0.7846, allocations: 7.938 kB / 0.8341 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001645/0.7862, allocations: 0.7314 MB / 0.8348 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.7862, allocations: 4.562 kB / 0.8348 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.7863, allocations: 2.906 kB / 0.8348 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005687/0.7868, allocations: 79.23 kB / 0.8349 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005488/0.7874, allocations: 143.6 kB / 0.835 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002043/0.7894, allocations: 1.635 MB / 0.8366 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000543/0.79, allocations: 70.86 kB / 0.8367 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.336e-05/0.7901, allocations: 28.14 kB / 0.8367 GB, free: 11.21 MB / 0.6075 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.0003663/0.7904, allocations: 251.8 kB / 0.8369 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/0.7906, allocations: 82.28 kB / 0.837 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002145/0.7927, allocations: 1.002 MB / 0.838 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.7927, allocations: 10.09 kB / 0.838 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.7928, allocations: 0 / 0.838 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.7928, allocations: 3.984 kB / 0.838 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003123/0.7959, allocations: 1.87 MB / 0.8398 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.7959, allocations: 0 / 0.8398 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005573/0.7965, allocations: 148.8 kB / 0.84 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004415/0.7969, allocations: 70.17 kB / 0.84 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.384e-05/0.797, allocations: 23.73 kB / 0.8401 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001904/0.7989, allocations: 1.666 MB / 0.8417 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.7989, allocations: 3.938 kB / 0.8417 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001764/0.8007, allocations: 0.9104 MB / 0.8426 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003747/0.8011, allocations: 258 kB / 0.8428 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.168e-05/0.8012, allocations: 25.12 kB / 0.8428 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005466/0.8017, allocations: 60.59 kB / 0.8429 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.8019, allocations: 62.62 kB / 0.843 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.408e-05/0.802, allocations: 32.8 kB / 0.843 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004916/0.8025, allocations: 430 kB / 0.8434 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8025, allocations: 0 / 0.8434 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008859/0.8034, allocations: 289.9 kB / 0.8437 GB, free: 6.246 MB / 0.6075 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.003419/0.8068, allocations: 1.963 MB / 0.8456 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001561/0.8084, allocations: 0.729 MB / 0.8463 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.8084, allocations: 0 / 0.8463 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008068/0.8092, allocations: 0.4924 MB / 0.8468 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/0.8104, allocations: 279.7 kB / 0.8471 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009905/0.8203, allocations: 5.884 MB / 0.8528 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005355/0.8208, allocations: 0.9993 MB / 0.8538 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007481/0.8216, allocations: 254.2 kB / 0.854 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004693/0.8221, allocations: 355.3 kB / 0.8544 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of SimCode: time 7.91e-07/0.8221, allocations: 4 kB / 0.8544 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04913/0.8712, allocations: 20.32 MB / 0.8742 GB, free: 7.773 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/13.19, allocations: 14.91 kB / 0.8742 GB, free: 7.762 MB / 0.6387 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)