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.005885/0.005885, allocations: 96.2 kB / 15.73 MB, free: 6.039 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.00154/0.00154, allocations: 201.2 kB / 16.68 MB, free: 5.969 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8953/0.8953, allocations: 135.6 MB / 426.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001789/0.001789, allocations: 63.89 kB / 0.5857 GB, free: 3.227 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3239, allocations: 81.02 MB / 0.6649 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.004168/0.3281, allocations: 4.193 MB / 0.669 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1609/0.4891, allocations: 150.6 MB / 0.816 GB, free: 5.57 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007622/0.4899, allocations: 19.88 kB / 0.816 GB, free: 5.551 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.000513/0.4904, allocations: 178.5 kB / 0.8162 GB, free: 5.375 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001487/0.4919, allocations: 488.7 kB / 0.8167 GB, free: 4.898 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001883/0.4938, allocations: 0.8205 MB / 0.8175 GB, free: 4.082 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001194/0.495, allocations: 1.227 MB / 0.8187 GB, free: 2.848 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008603/0.4959, allocations: 0.6452 MB / 0.8193 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005262/0.4964, allocations: 442.5 kB / 0.8197 GB, free: 1.75 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005382/0.497, allocations: 469.9 kB / 0.8202 GB, free: 1.289 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001495/0.4971, allocations: 108 kB / 0.8203 GB, free: 1.184 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009465/0.4981, allocations: 0.4917 MB / 0.8207 GB, free: 0.6914 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002727/0.4983, allocations: 283 kB / 0.821 GB, free: 424 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004725/0.4988, allocations: 0.5091 MB / 0.8215 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001847/0.5007, allocations: 1.55 MB / 0.823 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.5007, allocations: 0 / 0.823 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5007, allocations: 0 / 0.823 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.446e-05/0.5007, allocations: 0 / 0.823 GB, free: 14.35 MB / 0.6544 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.002216/0.5029, allocations: 1.402 MB / 0.8244 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.503, allocations: 12.03 kB / 0.8244 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001552/0.5032, allocations: 131.4 kB / 0.8245 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008663/0.504, allocations: 188.1 kB / 0.8247 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.5051, allocations: 0.7388 MB / 0.8254 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.76e-05/0.5052, allocations: 66 kB / 0.8255 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.5053, allocations: 76 kB / 0.8256 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.5067, allocations: 0.8988 MB / 0.8264 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.5068, allocations: 4 kB / 0.8264 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.53e-05/0.5069, allocations: 36 kB / 0.8265 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.148e-05/0.5069, allocations: 31.97 kB / 0.8265 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001713/0.5086, allocations: 1.089 MB / 0.8276 GB, free: 9.543 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003682/0.5123, allocations: 2.514 MB / 0.83 GB, free: 6.965 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00181/0.5141, allocations: 0.8689 MB / 0.8309 GB, free: 6.07 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005024/0.5146, allocations: 290.6 kB / 0.8312 GB, free: 5.785 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.085e-05/0.5147, allocations: 36.67 kB / 0.8312 GB, free: 5.75 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007324/0.5155, allocations: 443.2 kB / 0.8316 GB, free: 5.301 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=76): time 1.833e-06/0.5155, allocations: 0 / 0.8316 GB, free: 5.301 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76): time 0.00289/0.5184, allocations: 1.124 MB / 0.8327 GB, free: 4.152 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.5185, allocations: 188.6 kB / 0.8329 GB, free: 3.926 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007006/0.5192, allocations: 0.5979 MB / 0.8335 GB, free: 3.316 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.846e-05/0.5193, allocations: 45.69 kB / 0.8335 GB, free: 3.266 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002842/0.5195, allocations: 381 kB / 0.8339 GB, free: 2.887 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001994/0.5197, allocations: 265.7 kB / 0.8341 GB, free: 2.625 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002173/0.52, allocations: 146.2 kB / 0.8343 GB, free: 2.477 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.5202, allocations: 382.7 kB / 0.8346 GB, free: 2.094 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004561/0.5206, allocations: 225.2 kB / 0.8349 GB, free: 1.875 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005708/0.5212, allocations: 338.7 kB / 0.8352 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.5222, allocations: 0.555 MB / 0.8357 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.5222, allocations: 0 / 0.8357 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001715/0.5239, allocations: 0.7514 MB / 0.8365 GB, free: 192 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.524, allocations: 8 kB / 0.8365 GB, free: 184 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.524, allocations: 0 / 0.8365 GB, free: 184 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005595/0.5245, allocations: 84.77 kB / 0.8365 GB, free: 96 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000579/0.5251, allocations: 147.8 kB / 0.8367 GB, free: 15.95 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002013/0.5272, allocations: 1.629 MB / 0.8383 GB, free: 14.18 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005545/0.5277, allocations: 83.55 kB / 0.8384 GB, free: 14.09 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.654e-05/0.5278, allocations: 31.98 kB / 0.8384 GB, free: 14.06 MB / 0.67 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.0003314/0.5281, allocations: 257.6 kB / 0.8386 GB, free: 13.8 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.5283, allocations: 87.47 kB / 0.8387 GB, free: 13.71 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002297/0.5306, allocations: 1.058 MB / 0.8397 GB, free: 12.65 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.5306, allocations: 8 kB / 0.8398 GB, free: 12.64 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.5306, allocations: 3.938 kB / 0.8398 GB, free: 12.64 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.5306, allocations: 3.984 kB / 0.8398 GB, free: 12.63 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003113/0.5337, allocations: 1.936 MB / 0.8417 GB, free: 10.63 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.5338, allocations: 0 / 0.8417 GB, free: 10.63 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005879/0.5343, allocations: 163.8 kB / 0.8418 GB, free: 10.47 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004274/0.5348, allocations: 68.78 kB / 0.8419 GB, free: 10.4 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.265e-05/0.5348, allocations: 23.98 kB / 0.8419 GB, free: 10.38 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00189/0.5367, allocations: 1.662 MB / 0.8435 GB, free: 8.57 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5368, allocations: 144 / 0.8435 GB, free: 8.57 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001882/0.5386, allocations: 0.9672 MB / 0.8445 GB, free: 7.586 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003108/0.539, allocations: 264.2 kB / 0.8447 GB, free: 7.309 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.988e-05/0.5391, allocations: 28 kB / 0.8447 GB, free: 7.281 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000549/0.5396, allocations: 52 kB / 0.8448 GB, free: 7.23 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.5398, allocations: 68.91 kB / 0.8449 GB, free: 7.164 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.17e-05/0.5398, allocations: 31.98 kB / 0.8449 GB, free: 7.133 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005133/0.5404, allocations: 439 kB / 0.8453 GB, free: 6.711 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5404, allocations: 0 / 0.8453 GB, free: 6.711 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007281/0.5411, allocations: 311.1 kB / 0.8456 GB, free: 6.406 MB / 0.67 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.003822/0.5449, allocations: 2.026 MB / 0.8476 GB, free: 4.535 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001519/0.5465, allocations: 0.7668 MB / 0.8483 GB, free: 3.75 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5465, allocations: 0 / 0.8483 GB, free: 3.75 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008655/0.5473, allocations: 0.508 MB / 0.8488 GB, free: 3.23 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.5485, allocations: 289.4 kB / 0.8491 GB, free: 2.973 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/0.5585, allocations: 6.076 MB / 0.855 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006248/0.5592, allocations: 1.008 MB / 0.856 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0006927/0.5599, allocations: 266.4 kB / 0.8563 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005124/0.5604, allocations: 371.3 kB / 0.8566 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of SimCode: time 4.01e-07/0.5604, allocations: 0 / 0.8566 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.018/1.578, allocations: 20.6 MB / 0.8767 GB, free: 189.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/14.87, allocations: 1.938 kB / 0.8767 GB, free: 189.3 MB / 0.6856 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)