Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.004699/0.004699, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001418/0.001418, allocations: 199.1 kB / 16.68 MB, free: 5.977 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9449/0.9449, allocations: 135.6 MB / 426.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 63.89 kB / 0.5857 GB, free: 3.223 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3464, allocations: 81.03 MB / 0.6649 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004385/0.3508, allocations: 4.03 MB / 0.6688 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1724/0.5232, allocations: 150.5 MB / 0.8157 GB, free: 5.848 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007106/0.5239, allocations: 19.88 kB / 0.8158 GB, free: 5.828 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005003/0.5244, allocations: 158.5 kB / 0.8159 GB, free: 5.672 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001362/0.5258, allocations: 479.7 kB / 0.8164 GB, free: 5.203 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001767/0.5276, allocations: 0.7807 MB / 0.8171 GB, free: 4.43 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00118/0.5288, allocations: 1.16 MB / 0.8183 GB, free: 3.262 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000815/0.5296, allocations: 0.5903 MB / 0.8188 GB, free: 2.656 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004788/0.5301, allocations: 414.5 kB / 0.8192 GB, free: 2.25 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004984/0.5306, allocations: 434.1 kB / 0.8196 GB, free: 1.824 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001404/0.5308, allocations: 104 kB / 0.8197 GB, free: 1.723 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000743/0.5315, allocations: 467.6 kB / 0.8202 GB, free: 1.266 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002673/0.5318, allocations: 271.1 kB / 0.8204 GB, free: 1 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004602/0.5323, allocations: 489.4 kB / 0.8209 GB, free: 0.5195 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001623/0.5339, allocations: 1.468 MB / 0.8223 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.5339, allocations: 0 / 0.8223 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of FrontEnd: time 4.489e-06/0.5339, allocations: 0 / 0.8223 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.5339, allocations: 3.938 kB / 0.8223 GB, free: 15.04 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.002045/0.536, allocations: 1.332 MB / 0.8237 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.536, allocations: 8.031 kB / 0.8237 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001629/0.5362, allocations: 138.9 kB / 0.8238 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008618/0.5371, allocations: 176.1 kB / 0.824 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.5381, allocations: 0.7271 MB / 0.8247 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.193e-05/0.5382, allocations: 58 kB / 0.8247 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.417e-05/0.5383, allocations: 76 kB / 0.8248 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/0.5397, allocations: 0.8364 MB / 0.8256 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.5397, allocations: 7.938 kB / 0.8256 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.679e-05/0.5398, allocations: 32 kB / 0.8257 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/0.5398, allocations: 20 kB / 0.8257 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001732/0.5416, allocations: 1.05 MB / 0.8267 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003591/0.5452, allocations: 2.301 MB / 0.8289 GB, free: 8.078 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001373/0.5466, allocations: 0.7694 MB / 0.8297 GB, free: 7.285 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005077/0.5471, allocations: 270.4 kB / 0.83 GB, free: 7.02 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.53e-05/0.5472, allocations: 28.59 kB / 0.83 GB, free: 6.992 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007701/0.548, allocations: 426.7 kB / 0.8304 GB, free: 6.559 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=70): time 1.873e-06/0.548, allocations: 0 / 0.8304 GB, free: 6.559 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70): time 0.003006/0.551, allocations: 1.066 MB / 0.8314 GB, free: 5.465 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/0.5511, allocations: 196.4 kB / 0.8316 GB, free: 5.23 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007387/0.5519, allocations: 0.5705 MB / 0.8322 GB, free: 4.652 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.572e-05/0.5519, allocations: 41.7 kB / 0.8322 GB, free: 4.605 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003249/0.5523, allocations: 368.9 kB / 0.8326 GB, free: 4.238 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002038/0.5525, allocations: 245.9 kB / 0.8328 GB, free: 3.996 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002146/0.5527, allocations: 130.2 kB / 0.8329 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000189/0.5529, allocations: 378.8 kB / 0.8333 GB, free: 3.484 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004696/0.5534, allocations: 209.2 kB / 0.8335 GB, free: 3.277 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005682/0.5539, allocations: 310.7 kB / 0.8338 GB, free: 2.949 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.555, allocations: 0.5156 MB / 0.8343 GB, free: 2.43 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.555, allocations: 0 / 0.8343 GB, free: 2.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001736/0.5567, allocations: 0.7045 MB / 0.835 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.5567, allocations: 8 kB / 0.835 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.5568, allocations: 4.094 kB / 0.835 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006066/0.5574, allocations: 80.72 kB / 0.8351 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005469/0.5579, allocations: 135.8 kB / 0.8352 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0022/0.5601, allocations: 1.626 MB / 0.8368 GB, free: 15.71 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005001/0.5607, allocations: 78.23 kB / 0.8369 GB, free: 15.64 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.351e-05/0.5607, allocations: 27.98 kB / 0.8369 GB, free: 15.61 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: 6 (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 (73): * Single equations (assignments): 72 * 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.0003336/0.5611, allocations: 249.6 kB / 0.8371 GB, free: 15.36 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/0.5612, allocations: 79.66 kB / 0.8372 GB, free: 15.28 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002223/0.5634, allocations: 0.9548 MB / 0.8381 GB, free: 14.32 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.5635, allocations: 8 kB / 0.8381 GB, free: 14.31 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.5635, allocations: 0 / 0.8381 GB, free: 14.31 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.5635, allocations: 7.984 kB / 0.8381 GB, free: 14.3 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003046/0.5665, allocations: 1.794 MB / 0.8399 GB, free: 12.45 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.5666, allocations: 0 / 0.8399 GB, free: 12.45 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005279/0.5671, allocations: 139.8 kB / 0.84 GB, free: 12.31 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004421/0.5675, allocations: 76.73 kB / 0.8401 GB, free: 12.23 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.674e-05/0.5676, allocations: 15.98 kB / 0.8401 GB, free: 12.21 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001996/0.5696, allocations: 1.654 MB / 0.8417 GB, free: 10.42 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.5696, allocations: 0 / 0.8417 GB, free: 10.42 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/0.5715, allocations: 0.9033 MB / 0.8426 GB, free: 9.496 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003143/0.5718, allocations: 256.3 kB / 0.8429 GB, free: 9.227 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.66e-05/0.5719, allocations: 19.94 kB / 0.8429 GB, free: 9.207 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005383/0.5724, allocations: 54.77 kB / 0.8429 GB, free: 9.156 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.5726, allocations: 56.91 kB / 0.843 GB, free: 9.102 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-05/0.5726, allocations: 31.98 kB / 0.843 GB, free: 9.07 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005145/0.5732, allocations: 423.1 kB / 0.8434 GB, free: 8.66 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5732, allocations: 0 / 0.8434 GB, free: 8.66 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007344/0.5739, allocations: 287.2 kB / 0.8437 GB, free: 8.379 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 (81): * Single equations (assignments): 78 * 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.003837/0.5778, allocations: 1.919 MB / 0.8456 GB, free: 6.613 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001429/0.5792, allocations: 0.712 MB / 0.8463 GB, free: 5.887 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.5792, allocations: 0 / 0.8463 GB, free: 5.887 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008611/0.5801, allocations: 472.5 kB / 0.8467 GB, free: 5.414 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.5812, allocations: 292.8 kB / 0.847 GB, free: 5.156 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/0.5913, allocations: 5.779 MB / 0.8526 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006381/0.5919, allocations: 0.9875 MB / 0.8536 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0006847/0.5926, allocations: 254 kB / 0.8538 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004989/0.5931, allocations: 343.3 kB / 0.8542 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of SimCode: time 2.4e-07/0.5931, allocations: 0 / 0.8542 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3349/0.9281, allocations: 19.47 MB / 0.8732 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.05/13.98, allocations: 13.02 kB / 0.8732 GB, free: 189.5 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)