Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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.005733/0.005733, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001223/0.001223, allocations: 196.7 kB / 16.67 MB, free: 5.52 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7654/0.7654, allocations: 132.2 MB / 422.7 MB, free: 6.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 63.48 kB / 0.5808 GB, free: 24.01 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1511, allocations: 80.21 MB / 0.6592 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.006499/0.1577, allocations: 4.213 MB / 0.6633 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5062/0.664, allocations: 150.6 MB / 0.8103 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001248/0.6653, allocations: 15.78 kB / 0.8103 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007291/0.666, allocations: 175 kB / 0.8105 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00193/0.668, allocations: 489.1 kB / 0.811 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001662/0.6697, allocations: 0.8392 MB / 0.8118 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001622/0.6713, allocations: 1.229 MB / 0.813 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009186/0.6722, allocations: 0.6266 MB / 0.8136 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005919/0.6728, allocations: 463 kB / 0.814 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004858/0.6733, allocations: 470 kB / 0.8145 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001451/0.6735, allocations: 107.8 kB / 0.8146 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009708/0.6745, allocations: 495.5 kB / 0.8151 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002424/0.6747, allocations: 279.3 kB / 0.8153 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003741/0.6751, allocations: 0.5126 MB / 0.8158 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001462/0.6766, allocations: 1.537 MB / 0.8173 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.6766, allocations: 4 kB / 0.8173 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6766, allocations: 2.531 kB / 0.8173 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.442e-05/0.6766, allocations: 0 / 0.8173 GB, free: 9.684 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.002145/0.6788, allocations: 1.364 MB / 0.8187 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.6788, allocations: 7.562 kB / 0.8187 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000134/0.679, allocations: 139.3 kB / 0.8188 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008193/0.6798, allocations: 181.5 kB / 0.819 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009717/0.6808, allocations: 0.7413 MB / 0.8197 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.006e-05/0.6808, allocations: 59.88 kB / 0.8198 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.64e-05/0.6809, allocations: 80.34 kB / 0.8198 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.6823, allocations: 0.8983 MB / 0.8207 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.6823, allocations: 4.688 kB / 0.8207 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.498e-05/0.6824, allocations: 33.78 kB / 0.8208 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.6824, allocations: 20.62 kB / 0.8208 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001543/0.6839, allocations: 1.096 MB / 0.8218 GB, free: 6.875 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003503/0.6875, allocations: 2.494 MB / 0.8243 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001682/0.6892, allocations: 0.8678 MB / 0.8251 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004637/0.6896, allocations: 291.4 kB / 0.8254 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.418e-05/0.6897, allocations: 41.25 kB / 0.8254 GB, free: 4.344 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006981/0.6904, allocations: 443.2 kB / 0.8259 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 2.044e-06/0.6904, allocations: 0 / 0.8259 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.002761/0.6932, allocations: 1.124 MB / 0.827 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.744e-05/0.6933, allocations: 192.4 kB / 0.8271 GB, free: 3.227 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006671/0.694, allocations: 0.5966 MB / 0.8277 GB, free: 2.875 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.004e-05/0.6941, allocations: 39.08 kB / 0.8278 GB, free: 2.836 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003022/0.6944, allocations: 381.6 kB / 0.8281 GB, free: 2.5 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002068/0.6946, allocations: 258 kB / 0.8284 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002159/0.6948, allocations: 135.8 kB / 0.8285 GB, free: 2.199 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001823/0.695, allocations: 389.1 kB / 0.8289 GB, free: 1.828 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004354/0.6954, allocations: 229 kB / 0.8291 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005499/0.696, allocations: 327.7 kB / 0.8294 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009737/0.697, allocations: 0.5532 MB / 0.8299 GB, free: 1.211 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.697, allocations: 0 / 0.8299 GB, free: 1.211 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001762/0.6988, allocations: 0.7612 MB / 0.8307 GB, free: 0.8203 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.6988, allocations: 9.031 kB / 0.8307 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.6988, allocations: 4.094 kB / 0.8307 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005637/0.6994, allocations: 78.41 kB / 0.8308 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005455/0.6999, allocations: 149.5 kB / 0.8309 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002043/0.702, allocations: 1.636 MB / 0.8325 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006193/0.7026, allocations: 85.3 kB / 0.8326 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.616e-05/0.7027, allocations: 31.53 kB / 0.8326 GB, free: 15.07 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 (solAzi.outsidePolarCircle,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 (80): * Single equations (assignments): 79 * 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.0003675/0.7031, allocations: 255.6 kB / 0.8329 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.7032, allocations: 79.12 kB / 0.8329 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002202/0.7054, allocations: 1.046 MB / 0.834 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.7054, allocations: 14.09 kB / 0.834 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.7054, allocations: 0 / 0.834 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/0.7055, allocations: 7.922 kB / 0.834 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002991/0.7085, allocations: 1.937 MB / 0.8359 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.7085, allocations: 0 / 0.8359 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005784/0.7091, allocations: 156 kB / 0.836 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004188/0.7095, allocations: 74.66 kB / 0.8361 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.207e-05/0.7096, allocations: 23.86 kB / 0.8361 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00181/0.7114, allocations: 1.664 MB / 0.8378 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.7114, allocations: 0 / 0.8378 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001795/0.7132, allocations: 0.955 MB / 0.8387 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003247/0.7135, allocations: 267.2 kB / 0.8389 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.37e-05/0.7136, allocations: 21.19 kB / 0.839 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005499/0.7142, allocations: 59.81 kB / 0.839 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.7143, allocations: 62.5 kB / 0.8391 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.08e-05/0.7144, allocations: 34.58 kB / 0.8391 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004884/0.7149, allocations: 439 kB / 0.8395 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7149, allocations: 0 / 0.8395 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008949/0.7158, allocations: 306.4 kB / 0.8398 GB, free: 10.04 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 (93): * Single equations (assignments): 90 * 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.003543/0.7193, allocations: 2.028 MB / 0.8418 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001593/0.721, allocations: 0.7548 MB / 0.8425 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.721, allocations: 0 / 0.8425 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008621/0.7218, allocations: 0.5104 MB / 0.843 GB, free: 8 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/0.7232, allocations: 301.2 kB / 0.8433 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009922/0.7332, allocations: 6.026 MB / 0.8492 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005528/0.7338, allocations: 1.015 MB / 0.8502 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007403/0.7345, allocations: 266.5 kB / 0.8505 GB, free: 308 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004915/0.735, allocations: 371.3 kB / 0.8508 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of SimCode: time 1.924e-06/0.735, allocations: 0 / 0.8508 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04922/0.7842, allocations: 20.59 MB / 0.8709 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.59, allocations: 15.14 kB / 0.8709 GB, free: 11.59 MB / 0.6387 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)