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.005617/0.005617, allocations: 109.4 kB / 15.74 MB, free: 6.027 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.001551/0.001551, allocations: 188.6 kB / 16.67 MB, free: 5.953 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002491/0.002491, allocations: 287.5 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9905/0.9905, allocations: 169.2 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002892/0.002892, allocations: 99.84 kB / 0.681 GB, free: 7.473 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4091/0.412, allocations: 86.97 MB / 0.7659 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002877/0.4149, allocations: 1.601 MB / 0.7675 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.4162, allocations: 0.6483 MB / 0.7681 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.07e-05/0.4162, allocations: 0 / 0.7681 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001703/0.4164, allocations: 75.83 kB / 0.7682 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000306/0.4167, allocations: 103.7 kB / 0.7683 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000378/0.4171, allocations: 103.7 kB / 0.7684 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002118/0.4173, allocations: 127.7 kB / 0.7685 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.1e-05/0.4174, allocations: 11.98 kB / 0.7685 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001592/0.4176, allocations: 71.73 kB / 0.7686 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001896/0.4178, allocations: 111.7 kB / 0.7687 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.4178, allocations: 8 kB / 0.7687 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.418, allocations: 83.91 kB / 0.7688 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.028e-05/0.4181, allocations: 27.92 kB / 0.7688 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.089e-05/0.4181, allocations: 51.61 kB / 0.7688 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002598/0.4184, allocations: 176.4 kB / 0.769 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.4184, allocations: 3.984 kB / 0.769 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.273e-06/0.4184, allocations: 0 / 0.769 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.4184, allocations: 0 / 0.769 GB, free: 0.6523 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.0007428/0.4192, allocations: 488.2 kB / 0.7695 GB, free: 124 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.4192, allocations: 8.031 kB / 0.7695 GB, free: 116 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.742e-05/0.4193, allocations: 38.73 kB / 0.7695 GB, free: 68 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.945e-05/0.4193, allocations: 16.84 kB / 0.7695 GB, free: 52 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/0.4196, allocations: 221.1 kB / 0.7697 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.4197, allocations: 4.375 kB / 0.7697 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.4197, allocations: 384 / 0.7697 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002258/0.4199, allocations: 131.4 kB / 0.7699 GB, free: 15.65 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.4199, allocations: 4 kB / 0.7699 GB, free: 15.65 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.42, allocations: 4 kB / 0.7699 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.42, allocations: 0 / 0.7699 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.4201, allocations: 71.95 kB / 0.7699 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004701/0.4206, allocations: 400.9 kB / 0.7703 GB, free: 15.13 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.4208, allocations: 125.1 kB / 0.7704 GB, free: 14.99 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.4209, allocations: 81.78 kB / 0.7705 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.4209, allocations: 4.156 kB / 0.7705 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002592/0.4212, allocations: 174.7 kB / 0.7707 GB, free: 14.7 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.4212, allocations: 4 kB / 0.7707 GB, free: 14.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0005403/0.4218, allocations: 331.1 kB / 0.771 GB, free: 14.36 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.406e-05/0.4218, allocations: 106.8 kB / 0.7711 GB, free: 14.23 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.4221, allocations: 222.5 kB / 0.7713 GB, free: 14 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.4221, allocations: 25.7 kB / 0.7714 GB, free: 13.97 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.992e-05/0.4222, allocations: 120.1 kB / 0.7715 GB, free: 13.85 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.109e-05/0.4222, allocations: 31.75 kB / 0.7715 GB, free: 13.82 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.895e-05/0.4223, allocations: 25.7 kB / 0.7715 GB, free: 13.79 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.4224, allocations: 342.7 kB / 0.7718 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.734e-05/0.4225, allocations: 59.97 kB / 0.7719 GB, free: 13.39 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.801e-05/0.4226, allocations: 77.69 kB / 0.772 GB, free: 13.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002261/0.4229, allocations: 201 kB / 0.7722 GB, free: 13.09 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.4229, allocations: 4 kB / 0.7722 GB, free: 13.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003465/0.4232, allocations: 271.5 kB / 0.7724 GB, free: 12.81 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.691e-05/0.4233, allocations: 32.2 kB / 0.7725 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.4233, allocations: 4 kB / 0.7725 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.4233, allocations: 4 kB / 0.7725 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.4234, allocations: 19.92 kB / 0.7725 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.4234, allocations: 0 / 0.7725 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.4236, allocations: 15.89 kB / 0.7725 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.4236, allocations: 4 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.0001611/0.4238, allocations: 182.7 kB / 0.7727 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.359e-05/0.4238, allocations: 19.91 kB / 0.7727 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002149/0.424, allocations: 103.1 kB / 0.7728 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.424, allocations: 4 kB / 0.7728 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.424, allocations: 0 / 0.7728 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.424, allocations: 0 / 0.7728 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002205/0.4243, allocations: 233.5 kB / 0.773 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.4243, allocations: 4 kB / 0.773 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.453e-05/0.4243, allocations: 8 kB / 0.773 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.4243, allocations: 0 / 0.773 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.4244, allocations: 11.98 kB / 0.7731 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.4244, allocations: 0 / 0.7731 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4244, allocations: 4 kB / 0.7731 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004327/0.4248, allocations: 343.3 kB / 0.7734 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.542e-05/0.4249, allocations: 104.9 kB / 0.7735 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.177e-05/0.425, allocations: 4 kB / 0.7735 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.929e-05/0.4251, allocations: 7.984 kB / 0.7735 GB, free: 11.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/0.4251, allocations: 12.08 kB / 0.7735 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.4252, allocations: 15.94 kB / 0.7735 GB, free: 11.57 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001469/0.4253, allocations: 164.2 kB / 0.7737 GB, free: 11.41 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4253, allocations: 0 / 0.7737 GB, free: 11.41 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000331/0.4257, allocations: 47.88 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.0008067/0.4265, allocations: 0.897 MB / 0.7746 GB, free: 10.44 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003424/0.4268, allocations: 247.3 kB / 0.7748 GB, free: 10.18 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4268, allocations: 0 / 0.7748 GB, free: 10.18 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000179/0.427, allocations: 163.5 kB / 0.775 GB, free: 10.01 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.4273, allocations: 10.56 kB / 0.775 GB, free: 10 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002525/0.4298, allocations: 2.249 MB / 0.7772 GB, free: 7.652 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.4302, allocations: 0.7236 MB / 0.7779 GB, free: 6.902 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.299e-05/0.4302, allocations: 7.984 kB / 0.7779 GB, free: 6.895 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.921e-05/0.4303, allocations: 39.42 kB / 0.7779 GB, free: 6.855 MB / 0.545 GB Notification: Performance of SimCode: time 7.42e-07/0.4303, allocations: 4 kB / 0.778 GB, free: 6.852 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.534/1.964, allocations: 3.532 MB / 0.7814 GB, free: 3.516 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.394/10.36, allocations: 5.438 kB / 0.7814 GB, free: 3.516 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)