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.0009151/0.0009152, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005443/0.005443, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.224/1.224, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7147/0.7147, allocations: 132.3 MB / 423.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002963/0.0002965, allocations: 11.94 kB / 0.5041 GB, free: 3.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3534, allocations: 81.56 MB / 0.5837 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.004119/0.3575, allocations: 3.81 MB / 0.5875 GB, free: 1.273 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1457/0.5033, allocations: 146.7 MB / 0.7307 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000773/0.5041, allocations: 15.88 kB / 0.7307 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006174/0.5047, allocations: 131 kB / 0.7308 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0017/0.5065, allocations: 405.3 kB / 0.7312 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001844/0.5083, allocations: 0.7218 MB / 0.7319 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001411/0.5097, allocations: 1.144 MB / 0.733 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009607/0.5107, allocations: 0.5975 MB / 0.7336 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005693/0.5113, allocations: 322.4 kB / 0.7339 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005589/0.5119, allocations: 353.9 kB / 0.7343 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001261/0.512, allocations: 20 kB / 0.7343 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008281/0.5128, allocations: 391.6 kB / 0.7347 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002147/0.5131, allocations: 175.2 kB / 0.7348 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000416/0.5135, allocations: 427 kB / 0.7352 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001622/0.5151, allocations: 1.409 MB / 0.7366 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.5151, allocations: 0 / 0.7366 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5151, allocations: 0 / 0.7366 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.746e-05/0.5152, allocations: 0 / 0.7366 GB, free: 3.312 MB / 0.5606 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.00217/0.5173, allocations: 1.163 MB / 0.7377 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.5174, allocations: 8.031 kB / 0.7377 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002141/0.5176, allocations: 135.4 kB / 0.7379 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009236/0.5185, allocations: 195.4 kB / 0.7381 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.5196, allocations: 0.7148 MB / 0.7388 GB, free: 1 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.586e-05/0.5196, allocations: 62 kB / 0.7388 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.5197, allocations: 80 kB / 0.7389 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/0.5213, allocations: 0.9028 MB / 0.7398 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.5213, allocations: 0 / 0.7398 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.31e-05/0.5214, allocations: 35.98 kB / 0.7398 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/0.5214, allocations: 20 kB / 0.7398 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001682/0.5231, allocations: 1.108 MB / 0.7409 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003922/0.527, allocations: 2.559 MB / 0.7434 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001777/0.5288, allocations: 0.88 MB / 0.7443 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005048/0.5293, allocations: 298.6 kB / 0.7446 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.946e-05/0.5294, allocations: 36.67 kB / 0.7446 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007485/0.5302, allocations: 451.1 kB / 0.745 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 3.857e-06/0.5302, allocations: 0 / 0.745 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.002877/0.5331, allocations: 1.143 MB / 0.7461 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.565e-05/0.5332, allocations: 188.6 kB / 0.7463 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007222/0.5339, allocations: 0.5979 MB / 0.7469 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.236e-05/0.534, allocations: 37.7 kB / 0.7469 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002717/0.5342, allocations: 380.3 kB / 0.7473 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001863/0.5344, allocations: 248.3 kB / 0.7475 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.497e-05/0.5345, allocations: 57.69 kB / 0.7476 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.5347, allocations: 398.6 kB / 0.748 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000449/0.5351, allocations: 225.2 kB / 0.7482 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005313/0.5357, allocations: 338.8 kB / 0.7485 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000972/0.5367, allocations: 0.5667 MB / 0.7491 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.5367, allocations: 0 / 0.7491 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001722/0.5384, allocations: 0.7588 MB / 0.7498 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.5384, allocations: 4 kB / 0.7498 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.5384, allocations: 3.984 kB / 0.7498 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005932/0.539, allocations: 88.77 kB / 0.7499 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00059/0.5396, allocations: 147.8 kB / 0.75 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001957/0.5416, allocations: 1.515 MB / 0.7515 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006349/0.5422, allocations: 91.39 kB / 0.7516 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.912e-05/0.5423, allocations: 31.97 kB / 0.7516 GB, free: 3.363 MB / 0.5762 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.0003781/0.5427, allocations: 249.1 kB / 0.7519 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.5428, allocations: 83.19 kB / 0.752 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002322/0.5452, allocations: 1.077 MB / 0.753 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.5452, allocations: 8 kB / 0.753 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-06/0.5452, allocations: 0 / 0.753 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/0.5452, allocations: 7.969 kB / 0.753 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003114/0.5483, allocations: 1.947 MB / 0.7549 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.5484, allocations: 7.922 kB / 0.7549 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005983/0.549, allocations: 159.7 kB / 0.7551 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005122/0.5495, allocations: 88.77 kB / 0.7552 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.868e-05/0.5495, allocations: 23.98 kB / 0.7552 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00171/0.5513, allocations: 1.54 MB / 0.7567 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5513, allocations: 0 / 0.7567 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/0.5531, allocations: 0.9726 MB / 0.7576 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003524/0.5535, allocations: 275.7 kB / 0.7579 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.5536, allocations: 23.92 kB / 0.7579 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006175/0.5542, allocations: 71.95 kB / 0.758 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.5544, allocations: 64.89 kB / 0.7581 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.32e-05/0.5544, allocations: 31.98 kB / 0.7581 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005256/0.555, allocations: 439 kB / 0.7585 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.555, allocations: 4 kB / 0.7585 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008251/0.5558, allocations: 299.3 kB / 0.7588 GB, free: 11.78 MB / 0.5919 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.003294/0.5591, allocations: 2.013 MB / 0.7608 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001487/0.5606, allocations: 0.7705 MB / 0.7615 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.5606, allocations: 8.188 kB / 0.7615 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008551/0.5615, allocations: 0.508 MB / 0.762 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.5627, allocations: 258.2 kB / 0.7623 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/0.5742, allocations: 6.703 MB / 0.7688 GB, free: 1.59 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00057/0.5748, allocations: 1.015 MB / 0.7698 GB, free: 0.543 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007921/0.5756, allocations: 266.5 kB / 0.7701 GB, free: 284 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005106/0.5761, allocations: 367.4 kB / 0.7704 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of SimCode: time 5.01e-07/0.5761, allocations: 0 / 0.7704 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2489/0.825, allocations: 19.38 MB / 0.7893 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003173/0.8254, allocations: 306.4 kB / 0.7896 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.132/2.957, allocations: 2.5 kB / 0.7896 GB, free: 12.55 MB / 0.6231 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)