Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.SolarAzimuth,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="IDEAS_dev_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.001155/0.001155, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001201/0.001201, allocations: 193.7 kB / 16.14 MB, free: 6.688 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.206/1.206, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8358/0.8358, allocations: 135.1 MB / 425.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001094, allocations: 67.81 kB / 0.5048 GB, free: 5.602 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1264, allocations: 80.91 MB / 0.5838 GB, free: 4.852 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.004961/0.1314, allocations: 4.218 MB / 0.5879 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3329/0.4644, allocations: 148.3 MB / 0.7327 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005322/0.4649, allocations: 15.56 kB / 0.7327 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004331/0.4654, allocations: 136.8 kB / 0.7328 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001082/0.4665, allocations: 407.9 kB / 0.7332 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001441/0.4679, allocations: 0.7176 MB / 0.7339 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009045/0.4689, allocations: 1.141 MB / 0.7351 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007399/0.4696, allocations: 0.6057 MB / 0.7356 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004065/0.47, allocations: 397.7 kB / 0.736 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004022/0.4704, allocations: 445.7 kB / 0.7364 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.4705, allocations: 53.81 kB / 0.7365 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006817/0.4712, allocations: 418.5 kB / 0.7369 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001995/0.4714, allocations: 231.6 kB / 0.7371 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003298/0.4718, allocations: 468.2 kB / 0.7376 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001085/0.4729, allocations: 1.453 MB / 0.739 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.4729, allocations: 0 / 0.739 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.31e-07/0.4729, allocations: 0.9375 kB / 0.739 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.234e-05/0.4729, allocations: 1.812 kB / 0.739 GB, free: 10.95 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.001988/0.4749, allocations: 1.369 MB / 0.7403 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.4749, allocations: 9.625 kB / 0.7403 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001363/0.4751, allocations: 132.2 kB / 0.7405 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008249/0.4759, allocations: 183.5 kB / 0.7406 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008545/0.4768, allocations: 0.7139 MB / 0.7413 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.558e-05/0.4768, allocations: 63.25 kB / 0.7414 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.516e-05/0.4769, allocations: 78.16 kB / 0.7415 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/0.4783, allocations: 0.9003 MB / 0.7423 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.4783, allocations: 1.375 kB / 0.7423 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.592e-05/0.4784, allocations: 36.25 kB / 0.7424 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.4784, allocations: 20.62 kB / 0.7424 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00153/0.4799, allocations: 1.094 MB / 0.7435 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003377/0.4833, allocations: 2.529 MB / 0.7459 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001676/0.485, allocations: 0.8714 MB / 0.7468 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004491/0.4855, allocations: 294 kB / 0.7471 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.663e-05/0.4856, allocations: 34.25 kB / 0.7471 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007226/0.4863, allocations: 451 kB / 0.7475 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=76): time 1.824e-06/0.4863, allocations: 0 / 0.7475 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76): time 0.002744/0.489, allocations: 1.118 MB / 0.7486 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.066e-05/0.4891, allocations: 192.6 kB / 0.7488 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006171/0.4898, allocations: 0.6054 MB / 0.7494 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.316e-05/0.4898, allocations: 37.7 kB / 0.7494 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002309/0.4901, allocations: 376.3 kB / 0.7498 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001678/0.4902, allocations: 256.3 kB / 0.75 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001961/0.4904, allocations: 142.2 kB / 0.7502 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.4906, allocations: 382.7 kB / 0.7505 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004345/0.491, allocations: 229.2 kB / 0.7508 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005085/0.4915, allocations: 330.8 kB / 0.7511 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009398/0.4925, allocations: 0.555 MB / 0.7516 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.4925, allocations: 3.438 kB / 0.7516 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001632/0.4941, allocations: 0.7549 MB / 0.7524 GB, free: 172 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.4942, allocations: 8 kB / 0.7524 GB, free: 164 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.4942, allocations: 0 / 0.7524 GB, free: 164 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005726/0.4947, allocations: 84.83 kB / 0.7524 GB, free: 76 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005994/0.4954, allocations: 143.8 kB / 0.7526 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001803/0.4972, allocations: 1.518 MB / 0.7541 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005546/0.4977, allocations: 76.31 kB / 0.7541 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.918e-05/0.4978, allocations: 35.97 kB / 0.7542 GB, free: 14.17 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.0002989/0.4981, allocations: 249.8 kB / 0.7544 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.4982, allocations: 83 kB / 0.7545 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002241/0.5005, allocations: 1.057 MB / 0.7555 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.5005, allocations: 8 kB / 0.7555 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.5005, allocations: 0 / 0.7555 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.208e-06/0.5005, allocations: 7.969 kB / 0.7555 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002908/0.5034, allocations: 1.949 MB / 0.7574 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.5035, allocations: 7.938 kB / 0.7574 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005775/0.504, allocations: 159.8 kB / 0.7576 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004913/0.5045, allocations: 84.77 kB / 0.7577 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.877e-05/0.5046, allocations: 23.98 kB / 0.7577 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001601/0.5062, allocations: 1.536 MB / 0.7592 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5062, allocations: 7.812 kB / 0.7592 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001743/0.508, allocations: 0.9569 MB / 0.7601 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002788/0.5083, allocations: 263.8 kB / 0.7604 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.5084, allocations: 16 kB / 0.7604 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005666/0.5089, allocations: 59.88 kB / 0.7605 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.5091, allocations: 64.91 kB / 0.7605 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.176e-05/0.5092, allocations: 39.97 kB / 0.7606 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004435/0.5096, allocations: 435 kB / 0.761 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5096, allocations: 0 / 0.761 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007123/0.5103, allocations: 303.3 kB / 0.7613 GB, free: 6.648 MB / 0.5762 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.003084/0.5134, allocations: 2.017 MB / 0.7632 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001337/0.5148, allocations: 0.7548 MB / 0.764 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5148, allocations: 3.938 kB / 0.764 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000814/0.5156, allocations: 0.512 MB / 0.7645 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.5167, allocations: 259.7 kB / 0.7647 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01123/0.5279, allocations: 6.61 MB / 0.7712 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004959/0.5284, allocations: 1.015 MB / 0.7722 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007414/0.5291, allocations: 262.5 kB / 0.7724 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004589/0.5296, allocations: 367.3 kB / 0.7728 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of SimCode: time 3.1e-07/0.5296, allocations: 3.938 kB / 0.7728 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6022/1.132, allocations: 19.69 MB / 0.792 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000283/1.132, allocations: 320.1 kB / 0.7923 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.151/3.283, allocations: 0 / 0.7923 GB, free: 7.195 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)