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.00511/0.00511, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001198/0.001198, allocations: 201.8 kB / 16.68 MB, free: 5.926 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.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.794/0.794, allocations: 132.2 MB / 422.7 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 57.53 kB / 0.5808 GB, free: 24.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1752, allocations: 80.22 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.009932/0.1852, allocations: 4.196 MB / 0.6633 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5769/0.7622, allocations: 150.6 MB / 0.8103 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007521/0.763, allocations: 20 kB / 0.8103 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000645/0.7636, allocations: 164.3 kB / 0.8105 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001786/0.7655, allocations: 487 kB / 0.811 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001855/0.7673, allocations: 0.8332 MB / 0.8118 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001259/0.7686, allocations: 1.229 MB / 0.813 GB, free: 11 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008908/0.7695, allocations: 0.6337 MB / 0.8136 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007252/0.7703, allocations: 455.6 kB / 0.814 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006671/0.7709, allocations: 468.4 kB / 0.8145 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002662/0.7712, allocations: 108.2 kB / 0.8146 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009545/0.7722, allocations: 0.4916 MB / 0.8151 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002742/0.7725, allocations: 277.5 kB / 0.8153 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004989/0.773, allocations: 0.5132 MB / 0.8158 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001814/0.7748, allocations: 1.536 MB / 0.8173 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.7748, allocations: 7.547 kB / 0.8173 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.034e-06/0.7748, allocations: 2.594 kB / 0.8173 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.673e-05/0.7749, allocations: 0 / 0.8173 GB, free: 9.66 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.003364/0.7782, allocations: 1.364 MB / 0.8187 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.7783, allocations: 8.062 kB / 0.8187 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002594/0.7786, allocations: 135.2 kB / 0.8188 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.7796, allocations: 182.7 kB / 0.819 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/0.781, allocations: 0.7357 MB / 0.8197 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.186e-05/0.7811, allocations: 67.69 kB / 0.8198 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001284/0.7813, allocations: 80.62 kB / 0.8198 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/0.7829, allocations: 0.8933 MB / 0.8207 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.783, allocations: 0 / 0.8207 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.097e-05/0.7831, allocations: 42.72 kB / 0.8207 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.705e-05/0.7831, allocations: 19.94 kB / 0.8208 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001591/0.7847, allocations: 1.095 MB / 0.8218 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003905/0.7886, allocations: 2.493 MB / 0.8243 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001794/0.7904, allocations: 0.8638 MB / 0.8251 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000531/0.7909, allocations: 286.4 kB / 0.8254 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.479e-05/0.791, allocations: 43.94 kB / 0.8254 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007872/0.7918, allocations: 446.4 kB / 0.8259 GB, free: 4.039 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 3.547e-06/0.7919, allocations: 3.094 kB / 0.8259 GB, free: 4.039 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.003016/0.7949, allocations: 1.122 MB / 0.8269 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.795, allocations: 190.1 kB / 0.8271 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007513/0.7958, allocations: 0.5974 MB / 0.8277 GB, free: 2.852 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.733e-05/0.7958, allocations: 38.8 kB / 0.8278 GB, free: 2.812 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003246/0.7962, allocations: 389.8 kB / 0.8281 GB, free: 2.469 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002197/0.7964, allocations: 257.5 kB / 0.8284 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002063/0.7966, allocations: 136.7 kB / 0.8285 GB, free: 2.172 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.7968, allocations: 380 kB / 0.8289 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004608/0.7973, allocations: 232.9 kB / 0.8291 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006078/0.7979, allocations: 335.7 kB / 0.8294 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.7989, allocations: 0.5527 MB / 0.8299 GB, free: 1.18 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.7989, allocations: 3.938 kB / 0.8299 GB, free: 1.176 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001839/0.8008, allocations: 0.7529 MB / 0.8307 GB, free: 0.7891 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.8008, allocations: 7.594 kB / 0.8307 GB, free: 0.7891 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.8008, allocations: 0 / 0.8307 GB, free: 0.7891 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006151/0.8015, allocations: 89.09 kB / 0.8308 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005885/0.8021, allocations: 144.2 kB / 0.8309 GB, free: 0.707 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00229/0.8044, allocations: 1.628 MB / 0.8325 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000772/0.8051, allocations: 83.2 kB / 0.8326 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.609e-05/0.8052, allocations: 31.75 kB / 0.8326 GB, free: 15.05 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.0006214/0.8059, allocations: 256.7 kB / 0.8329 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002611/0.8061, allocations: 74.5 kB / 0.8329 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00259/0.8087, allocations: 1.059 MB / 0.834 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/0.8087, allocations: 10.28 kB / 0.834 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.8088, allocations: 0 / 0.834 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.408e-05/0.8088, allocations: 7.922 kB / 0.834 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003321/0.8121, allocations: 1.939 MB / 0.8359 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.8121, allocations: 0 / 0.8359 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005523/0.8127, allocations: 156.5 kB / 0.836 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004217/0.8131, allocations: 74.69 kB / 0.8361 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.912e-05/0.8132, allocations: 22.73 kB / 0.8361 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001833/0.815, allocations: 1.662 MB / 0.8377 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.815, allocations: 0 / 0.8377 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001882/0.8169, allocations: 0.9565 MB / 0.8387 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003986/0.8173, allocations: 271.4 kB / 0.8389 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/0.8175, allocations: 17.66 kB / 0.8389 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005764/0.8181, allocations: 59.62 kB / 0.839 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.8182, allocations: 63.28 kB / 0.8391 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-05/0.8183, allocations: 34.33 kB / 0.8391 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005343/0.8188, allocations: 435.4 kB / 0.8395 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8188, allocations: 4 kB / 0.8395 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00087/0.8197, allocations: 309.6 kB / 0.8398 GB, free: 10.01 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.003411/0.8231, allocations: 2.016 MB / 0.8418 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001489/0.8246, allocations: 0.7638 MB / 0.8425 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.8247, allocations: 2.156 kB / 0.8425 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008459/0.8255, allocations: 0.5094 MB / 0.843 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.8266, allocations: 295 kB / 0.8433 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/0.837, allocations: 6.03 MB / 0.8492 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007722/0.8378, allocations: 1.012 MB / 0.8502 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009297/0.8387, allocations: 266 kB / 0.8504 GB, free: 312 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006465/0.8394, allocations: 371.3 kB / 0.8508 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of SimCode: time 1.152e-06/0.8394, allocations: 0 / 0.8508 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05077/0.8902, allocations: 20.98 MB / 0.8713 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.85, allocations: 12.58 kB / 0.8713 GB, free: 11.21 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)