Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",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.005591/0.005591, allocations: 102 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.001355/0.001355, allocations: 194 kB / 16.67 MB, free: 5.961 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: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002276/0.002276, allocations: 309.9 kB / 290.8 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9298/0.9298, allocations: 169.3 MB / 0.4983 GB, free: 4.398 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 91.86 kB / 0.6809 GB, free: 7.449 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3981/0.4, allocations: 86.98 MB / 0.7659 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002882/0.4029, allocations: 1.601 MB / 0.7674 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001133/0.4041, allocations: 0.6444 MB / 0.7681 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.473e-05/0.4041, allocations: 0 / 0.7681 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000153/0.4043, allocations: 79.83 kB / 0.7682 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000272/0.4046, allocations: 103.7 kB / 0.7683 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003508/0.405, allocations: 95.7 kB / 0.7683 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.4052, allocations: 135.7 kB / 0.7685 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.04e-05/0.4053, allocations: 18.8 kB / 0.7685 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.4054, allocations: 75.73 kB / 0.7686 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.4056, allocations: 99.78 kB / 0.7687 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.4056, allocations: 4 kB / 0.7687 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.4058, allocations: 79.92 kB / 0.7687 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.033e-05/0.4058, allocations: 31.89 kB / 0.7688 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.589e-05/0.4059, allocations: 63.61 kB / 0.7688 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002397/0.4062, allocations: 163.5 kB / 0.769 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4062, allocations: 3.938 kB / 0.769 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.293e-06/0.4062, allocations: 0 / 0.769 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.759e-06/0.4062, allocations: 0 / 0.769 GB, free: 0.6445 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007016/0.4069, allocations: 484.3 kB / 0.7695 GB, free: 120 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.407, allocations: 12.03 kB / 0.7695 GB, free: 108 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.556e-05/0.407, allocations: 30.75 kB / 0.7695 GB, free: 68 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.211e-05/0.4071, allocations: 16.75 kB / 0.7695 GB, free: 52 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/0.4074, allocations: 224.9 kB / 0.7697 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.4074, allocations: 8.375 kB / 0.7697 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.4074, allocations: 4.375 kB / 0.7697 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/0.4076, allocations: 139 kB / 0.7699 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.4076, allocations: 0 / 0.7699 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.4076, allocations: 0 / 0.7699 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.4077, allocations: 0 / 0.7699 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.4078, allocations: 71.97 kB / 0.7699 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004041/0.4082, allocations: 408.8 kB / 0.7703 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.4084, allocations: 113.2 kB / 0.7704 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.4085, allocations: 81.78 kB / 0.7705 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.4085, allocations: 7.938 kB / 0.7705 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002208/0.4088, allocations: 174.9 kB / 0.7707 GB, free: 14.7 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.4088, allocations: 0 / 0.7707 GB, free: 14.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0004683/0.4092, allocations: 335 kB / 0.771 GB, free: 14.36 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.4093, allocations: 106.8 kB / 0.7711 GB, free: 14.23 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.4095, allocations: 214.5 kB / 0.7713 GB, free: 14 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.4095, allocations: 33.7 kB / 0.7713 GB, free: 13.96 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.882e-05/0.4096, allocations: 116 kB / 0.7715 GB, free: 13.85 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.885e-05/0.4096, allocations: 35.55 kB / 0.7715 GB, free: 13.81 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.375e-05/0.4097, allocations: 29.7 kB / 0.7715 GB, free: 13.78 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.4098, allocations: 330.8 kB / 0.7718 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.405e-05/0.4099, allocations: 63.97 kB / 0.7719 GB, free: 13.38 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.677e-05/0.41, allocations: 77.62 kB / 0.772 GB, free: 13.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.4102, allocations: 193.3 kB / 0.7722 GB, free: 13.09 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.4102, allocations: 0 / 0.7722 GB, free: 13.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003125/0.4105, allocations: 275.1 kB / 0.7724 GB, free: 12.81 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.703e-05/0.4105, allocations: 40.19 kB / 0.7725 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.4105, allocations: 0 / 0.7725 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.4106, allocations: 0 / 0.7725 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.4107, allocations: 15.94 kB / 0.7725 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.4107, allocations: 0 / 0.7725 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.4108, allocations: 23.83 kB / 0.7725 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.4108, allocations: 4.234 kB / 0.7725 GB, free: 12.73 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (decAng.tNext,$PRE.decAng.tNext,$whenCondition2,solDecNOAA.nextEventScaled,solDecNOAA.nextEvent,$PRE.solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.b,solDecNOAA.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001404/0.411, allocations: 184.7 kB / 0.7727 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/0.411, allocations: 15.81 kB / 0.7727 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001937/0.4112, allocations: 111.1 kB / 0.7728 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.4112, allocations: 0 / 0.7728 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.4112, allocations: 0 / 0.7728 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.4112, allocations: 0 / 0.7728 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.4114, allocations: 233.5 kB / 0.773 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.4114, allocations: 3.984 kB / 0.773 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.939e-05/0.4115, allocations: 8 kB / 0.773 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.4115, allocations: 0 / 0.773 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.4115, allocations: 8 kB / 0.773 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.4115, allocations: 0 / 0.773 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.4115, allocations: 4 kB / 0.773 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003692/0.4119, allocations: 343.1 kB / 0.7734 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.518e-05/0.412, allocations: 108.8 kB / 0.7735 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.338e-05/0.412, allocations: 8 kB / 0.7735 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.641e-05/0.4121, allocations: 8 kB / 0.7735 GB, free: 11.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.4122, allocations: 11.98 kB / 0.7735 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.4122, allocations: 7.984 kB / 0.7735 GB, free: 11.58 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001213/0.4124, allocations: 160.2 kB / 0.7737 GB, free: 11.42 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4124, allocations: 0 / 0.7737 GB, free: 11.42 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002575/0.4126, allocations: 51.92 kB / 0.7737 GB, free: 11.37 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,decAng.tNext,$whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 7 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1,decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006854/0.4133, allocations: 0.8882 MB / 0.7746 GB, free: 10.45 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003017/0.4136, allocations: 251.3 kB / 0.7748 GB, free: 10.19 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.4136, allocations: 0 / 0.7748 GB, free: 10.19 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001558/0.4138, allocations: 163.4 kB / 0.775 GB, free: 10.02 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.414, allocations: 20.12 kB / 0.775 GB, free: 9.996 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002119/0.4162, allocations: 2.236 MB / 0.7772 GB, free: 7.66 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.4164, allocations: 0.7275 MB / 0.7779 GB, free: 6.906 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.685e-05/0.4165, allocations: 4 kB / 0.7779 GB, free: 6.902 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.091e-05/0.4166, allocations: 43.42 kB / 0.7779 GB, free: 6.859 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.4166, allocations: 0 / 0.7779 GB, free: 6.859 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0188/0.4354, allocations: 3.595 MB / 0.7814 GB, free: 3.461 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.491/7.926, allocations: 11.73 kB / 0.7814 GB, free: 3.457 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)