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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00577/0.00577, allocations: 102.7 kB / 15.73 MB, free: 6.035 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.001126/0.001126, 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.309/1.309, 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/package.mo): time 0.7959/0.7959, allocations: 132.2 MB / 422.7 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 67.8 kB / 0.5808 GB, free: 24.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1724, allocations: 80.21 MB / 0.6592 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006145/0.1786, allocations: 4.143 MB / 0.6632 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5348/0.7134, allocations: 150.5 MB / 0.8102 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007867/0.7143, allocations: 21.12 kB / 0.8102 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000565/0.7148, allocations: 162.3 kB / 0.8103 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001541/0.7164, allocations: 487.2 kB / 0.8108 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001802/0.7182, allocations: 0.7982 MB / 0.8116 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009951/0.7192, allocations: 1.202 MB / 0.8127 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007135/0.72, allocations: 0.6037 MB / 0.8133 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005607/0.7205, allocations: 442.9 kB / 0.8138 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005448/0.7211, allocations: 446.6 kB / 0.8142 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001562/0.7213, allocations: 103.1 kB / 0.8143 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009923/0.7223, allocations: 476 kB / 0.8147 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002669/0.7225, allocations: 278.2 kB / 0.815 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004218/0.723, allocations: 0.494 MB / 0.8155 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001569/0.7245, allocations: 1.486 MB / 0.8169 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.7246, allocations: 0 / 0.8169 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7246, allocations: 0 / 0.8169 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.651e-05/0.7246, allocations: 0 / 0.8169 GB, free: 9.797 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.002132/0.7267, allocations: 1.333 MB / 0.8182 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.7268, allocations: 7.188 kB / 0.8182 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001278/0.7269, allocations: 131.7 kB / 0.8184 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008409/0.7278, allocations: 190.2 kB / 0.8186 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009674/0.7287, allocations: 0.7169 MB / 0.8193 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.879e-05/0.7288, allocations: 68.48 kB / 0.8193 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.721e-05/0.7289, allocations: 73.44 kB / 0.8194 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/0.7302, allocations: 0.8684 MB / 0.8202 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.7302, allocations: 2.375 kB / 0.8202 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.425e-05/0.7303, allocations: 35.97 kB / 0.8203 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.684e-05/0.7303, allocations: 19.47 kB / 0.8203 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001429/0.7317, allocations: 1.068 MB / 0.8213 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003347/0.7351, allocations: 2.352 MB / 0.8236 GB, free: 5.32 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/0.7363, allocations: 0.7999 MB / 0.8244 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004222/0.7367, allocations: 275.5 kB / 0.8247 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.907e-05/0.7368, allocations: 38.83 kB / 0.8247 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006608/0.7375, allocations: 422.6 kB / 0.8251 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=73): time 2.394e-06/0.7375, allocations: 4 kB / 0.8251 GB, free: 4.445 MB / 0.5919 GB Notification: Performance of matching and sorting (n=73): time 0.002859/0.7403, allocations: 1.081 MB / 0.8262 GB, free: 3.852 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.7405, allocations: 196.3 kB / 0.8264 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000678/0.7411, allocations: 0.5803 MB / 0.8269 GB, free: 3.289 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.114e-05/0.7412, allocations: 39.8 kB / 0.827 GB, free: 3.246 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003404/0.7416, allocations: 380.1 kB / 0.8273 GB, free: 2.914 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001861/0.7418, allocations: 241.6 kB / 0.8276 GB, free: 2.707 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001961/0.742, allocations: 131.8 kB / 0.8277 GB, free: 2.629 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.7421, allocations: 380.5 kB / 0.828 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000401/0.7425, allocations: 217.6 kB / 0.8283 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004976/0.743, allocations: 323.9 kB / 0.8286 GB, free: 1.945 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008652/0.7439, allocations: 0.5373 MB / 0.8291 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.7439, allocations: 7.875 kB / 0.8291 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001621/0.7455, allocations: 0.7238 MB / 0.8298 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.7456, allocations: 6.656 kB / 0.8298 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.7456, allocations: 7.219 kB / 0.8298 GB, free: 1.266 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005858/0.7462, allocations: 75.53 kB / 0.8299 GB, free: 1.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000549/0.7467, allocations: 142.7 kB / 0.83 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001978/0.7487, allocations: 1.642 MB / 0.8316 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005834/0.7493, allocations: 73.78 kB / 0.8317 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.385e-05/0.7494, allocations: 29.52 kB / 0.8317 GB, free: 15.52 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.0003929/0.7498, allocations: 248.4 kB / 0.832 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.7499, allocations: 81.03 kB / 0.832 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002043/0.752, allocations: 0.9964 MB / 0.833 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.752, allocations: 13.69 kB / 0.833 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.752, allocations: 0 / 0.833 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.752, allocations: 7.984 kB / 0.833 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002843/0.7549, allocations: 1.872 MB / 0.8349 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.7549, allocations: 0 / 0.8349 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005285/0.7554, allocations: 144 kB / 0.835 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004189/0.7559, allocations: 75.06 kB / 0.8351 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.938e-05/0.7559, allocations: 23.58 kB / 0.8351 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001777/0.7577, allocations: 1.657 MB / 0.8367 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.7577, allocations: 7.922 kB / 0.8367 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00174/0.7595, allocations: 0.9063 MB / 0.8376 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003158/0.7598, allocations: 265 kB / 0.8379 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.7599, allocations: 25.03 kB / 0.8379 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005631/0.7605, allocations: 54.27 kB / 0.8379 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.7606, allocations: 66.86 kB / 0.838 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.806e-05/0.7607, allocations: 32.02 kB / 0.838 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000485/0.7612, allocations: 428.9 kB / 0.8384 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7612, allocations: 0 / 0.8384 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008131/0.762, allocations: 285.9 kB / 0.8387 GB, free: 10.59 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.003049/0.7651, allocations: 1.963 MB / 0.8406 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001357/0.7664, allocations: 0.7239 MB / 0.8413 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.7664, allocations: 256 / 0.8413 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007717/0.7672, allocations: 0.4961 MB / 0.8418 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.7684, allocations: 293.8 kB / 0.8421 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01188/0.7803, allocations: 5.885 MB / 0.8478 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000611/0.7809, allocations: 1.003 MB / 0.8488 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008153/0.7818, allocations: 261 kB / 0.8491 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00052/0.7823, allocations: 351.3 kB / 0.8494 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of SimCode: time 2.074e-06/0.7823, allocations: 3.938 kB / 0.8494 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05101/0.8333, allocations: 20.3 MB / 0.8692 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.85, allocations: 11.72 kB / 0.8692 GB, free: 13.18 MB / 0.6387 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/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)